diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-25 19:05:17 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-25 19:05:17 +0400 |
commit | ea828fd20e87443bfbd3045ac1a077f20e35e564 (patch) | |
tree | 319386c60fe6e6ae8169d086dabb6db8d15de5b6 /source/blender/makesrna | |
parent | 3a7d4d661f3f9ccb4fcfae8433212d5a5d617219 (diff) |
code cleanup: warnings, style
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_access.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index a69bc8f2d21..470e87daeea 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -4150,7 +4150,7 @@ char *RNA_path_from_ID_to_property(PointerRNA *ptr, PropertyRNA *prop) path = BLI_sprintfN(is_rna ? "%s.%s" : "%s[\"%s\"]", ptrpath, propname); MEM_freeN(ptrpath); } - else if(RNA_struct_is_ID(ptr->type)) { + else if (RNA_struct_is_ID(ptr->type)) { if (is_rna) path = BLI_strdup(propname); else @@ -5953,7 +5953,7 @@ int RNA_property_equals(PointerRNA *a, PointerRNA *b, PropertyRNA *prop) int RNA_struct_equals(PointerRNA *a, PointerRNA *b) { CollectionPropertyIterator iter; - CollectionPropertyRNA *citerprop; +// CollectionPropertyRNA *citerprop; /* UNUSED */ PropertyRNA *iterprop; int equals = 1; @@ -5965,7 +5965,7 @@ int RNA_struct_equals(PointerRNA *a, PointerRNA *b) return 0; iterprop = RNA_struct_iterator_property(a->type); - citerprop = (CollectionPropertyRNA *)rna_ensure_property(iterprop); +// citerprop = (CollectionPropertyRNA *)rna_ensure_property(iterprop); /* UNUSED */ RNA_property_collection_begin(a, iterprop, &iter); for (; iter.valid; RNA_property_collection_next(&iter)) { |