small msvc fix
authorShaul Kedem <shaul_kedem@yahoo.com>
Mon, 27 Jul 2009 19:33:06 +0000 (19:33 +0000)
committerShaul Kedem <shaul_kedem@yahoo.com>
Mon, 27 Jul 2009 19:33:06 +0000 (19:33 +0000)
source/blender/editors/space_outliner/outliner.c

index b1919391c8d475a5a0a74fdee06cfc6bc0118b45..589feac6226ddd76780b54dc8857b14b0615ef48 100644 (file)
@@ -561,7 +561,7 @@ static TreeElement *outliner_add_element(SpaceOops *soops, ListBase *lb, void *i
        TreeElement *te;
        TreeStoreElem *tselem;
        ID *id= idv;
-       int a;
+       int a = 0;
        
        if(ELEM3(type, TSE_RNA_STRUCT, TSE_RNA_PROPERTY, TSE_RNA_ARRAY_ELEM)) {
                id= ((PointerRNA*)idv)->id.data;