diff options
author | Joshua Leung <aligorith@gmail.com> | 2014-11-16 10:24:58 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2014-11-16 10:24:58 +0300 |
commit | 5148a4d7b5ae559f4fc05957cdba260ef0b8b5f5 (patch) | |
tree | 712520490e7e5bc184fc92972b8ec2df80b26cd1 /source/blender/makesrna/intern/rna_access.c | |
parent | 2625dc53487971d3def110ca70b88c178f772712 (diff) |
Uninitialised var warning
Diffstat (limited to 'source/blender/makesrna/intern/rna_access.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_access.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index 9494377e319..e681552103b 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); |