Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-03-23 23:19:09 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-03-23 23:19:09 +0300
commit3d5cc2724eae868b815f818a154766a26e12c746 (patch)
treeb948716eb10a51412568f362b7928512e69e00e0 /source
parent8c873312cf340848796b8de784bce8d7883c8eda (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.c2
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);