diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-03 14:04:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-03 14:04:16 +0400 |
commit | 0298d223cc1156df3a32fbb3a97dccf5ddb5ad02 (patch) | |
tree | 437798c6e1ae0541bd7169072d2c5a5e276a40c7 /source/blender/makesrna/intern/rna_define.c | |
parent | 744a3b9cb26a734487264eec3e9e6dacb28daa73 (diff) |
quiet various warnings, also disable -Wdouble-promotion with cmake since it gives warnings with variable length args.
Diffstat (limited to 'source/blender/makesrna/intern/rna_define.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_define.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_define.c b/source/blender/makesrna/intern/rna_define.c index 12f15911bda..b3937b33226 100644 --- a/source/blender/makesrna/intern/rna_define.c +++ b/source/blender/makesrna/intern/rna_define.c @@ -2855,7 +2855,7 @@ void RNA_def_property_free_pointers(PropertyRNA *prop) } } -void RNA_def_property_free(StructOrFunctionRNA *cont_, PropertyRNA *prop) +static void rna_def_property_free(StructOrFunctionRNA *cont_, PropertyRNA *prop) { ContainerRNA *cont= cont_; @@ -2880,7 +2880,7 @@ int RNA_def_property_free_identifier(StructOrFunctionRNA *cont_, const char *ide for(prop= cont->properties.first; prop; prop= prop->next) { if(strcmp(prop->identifier, identifier)==0) { if(prop->flag & PROP_RUNTIME) { - RNA_def_property_free(cont_, prop); + rna_def_property_free(cont_, prop); return 1; } else { |