From 8c5645669b2bebdeb4a59fb73462b3ace97d202b Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Sun, 31 Jan 2010 23:49:04 +0000 Subject: Fixed a few lingering compiler warnings with the bpy_app stuff --- source/blender/python/intern/bpy_app.c | 2 ++ source/blender/python/intern/bpy_interface.c | 1 + 2 files changed, 3 insertions(+) (limited to 'source') 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" -- cgit v1.2.3