diff options
author | Ken Hughes <khughes@pacific.edu> | 2008-09-03 00:53:07 +0400 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2008-09-03 00:53:07 +0400 |
commit | e4dbf0e7d6d80701edc5b41fe9a2d49027abcb44 (patch) | |
tree | 580a7a11c60cf4a1dd926dccf5646f2b712ed2a9 | |
parent | 0fe906f49e259f5c2042070d2201291f32ad3223 (diff) |
Fix gcc compiler warnings.
-rw-r--r-- | source/blender/blenkernel/intern/particle_system.c | 2 | ||||
-rw-r--r-- | source/blender/python/api2_2x/Text.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c index 92c2f27bc31..96eb4d5d8e3 100644 --- a/source/blender/blenkernel/intern/particle_system.c +++ b/source/blender/blenkernel/intern/particle_system.c @@ -76,6 +76,8 @@ #include "BKE_modifier.h" #include "BKE_scene.h" +#include "PIL_time.h" + #include "BSE_headerbuttons.h" #include "blendef.h" diff --git a/source/blender/python/api2_2x/Text.c b/source/blender/python/api2_2x/Text.c index a76a6f56224..9719daaa3d4 100644 --- a/source/blender/python/api2_2x/Text.c +++ b/source/blender/python/api2_2x/Text.c @@ -718,7 +718,7 @@ static PyObject *Text_markSelection( BPy_Text * self, PyObject * args ) static PyObject *Text_suggest( BPy_Text * self, PyObject * args ) { PyObject *item = NULL, *tup1 = NULL, *tup2 = NULL; - PyObject *list = NULL, *resl = NULL; + PyObject *list = NULL; int list_len, i; char *prefix = NULL, *name, type; SpaceText *st; |