diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-03-23 23:19:09 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-03-23 23:19:09 +0300 |
commit | 3d5cc2724eae868b815f818a154766a26e12c746 (patch) | |
tree | b948716eb10a51412568f362b7928512e69e00e0 /source | |
parent | 8c873312cf340848796b8de784bce8d7883c8eda (diff) |
RNA: fix some warnings, return with void value in a void function.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/makesrna.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c index d30a923fd65..fc76223d8bf 100644 --- a/source/blender/makesrna/intern/makesrna.c +++ b/source/blender/makesrna/intern/makesrna.c @@ -290,7 +290,7 @@ static char *rna_def_property_get_func(FILE *f, StructRNA *srna, PropertyRNA *pr fprintf(f, "{\n"); if(manualfunc) { - fprintf(f, " return %s(ptr, values);\n", manualfunc); + fprintf(f, " %s(ptr, values);\n", manualfunc); } else { rna_print_data_get(f, dp); |