Commit: 5148a4d7b5ae559f4fc05957cdba260ef0b8b5f5
Author: Joshua Leung
Date:   Sun Nov 16 20:24:58 2014 +1300
Branches: master
https://developer.blender.org/rB5148a4d7b5ae559f4fc05957cdba260ef0b8b5f5

Uninitialised var warning

===================================================================

M       source/blender/makesrna/intern/rna_access.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_access.c 
b/source/blender/makesrna/intern/rna_access.c
index 9494377..e681552 100644
--- a/source/blender/makesrna/intern/rna_access.c
+++ b/source/blender/makesrna/intern/rna_access.c
@@ -4960,7 +4960,7 @@ bool RNA_enum_is_equal(bContext *C, PointerRNA *ptr, 
const char *name, const cha
 
        if (prop) {
                int i;
-               bool cmp;
+               bool cmp = false;
 
                RNA_property_enum_items(C, ptr, prop, &item, NULL, &free);
                i = RNA_enum_from_identifier(item, enumname);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to