diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-02-01 02:49:04 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-02-01 02:49:04 +0300 |
commit | 8c5645669b2bebdeb4a59fb73462b3ace97d202b (patch) | |
tree | da7c054055a3874a438ac040067cf532681452bf | |
parent | 87bbb2d827064a4fd59ffc77cc2dcbc31f02ce4f (diff) |
Fixed a few lingering compiler warnings with the bpy_app stuff
-rw-r--r-- | source/blender/python/intern/bpy_app.c | 2 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_interface.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_app.c b/source/blender/python/intern/bpy_app.c index ed0b88b59a7..440db76aafe 100644 --- a/source/blender/python/intern/bpy_app.c +++ b/source/blender/python/intern/bpy_app.c @@ -124,4 +124,6 @@ PyObject *BPY_app_struct(void) /* prevent user from creating new instances */ BlenderAppType.tp_init = NULL; BlenderAppType.tp_new = NULL; + + return ret; } diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c index 7074f507aca..1c15f311cd6 100644 --- a/source/blender/python/intern/bpy_interface.c +++ b/source/blender/python/intern/bpy_interface.c @@ -38,6 +38,7 @@ #include "compile.h" /* for the PyCodeObject */ #include "eval.h" /* for PyEval_EvalCode */ +#include "bpy_app.h" #include "bpy_rna.h" #include "bpy_props.h" #include "bpy_operator.h" |