diff options
author | Kent Mein <mein@cs.umn.edu> | 2004-09-03 18:31:06 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2004-09-03 18:31:06 +0400 |
commit | f284ba64b0c22fa1d2f4abe5348081ce82288b0b (patch) | |
tree | e60dca2a263be99f3ce52bdf23031e1e7b578459 /source/blender/python/api2_2x | |
parent | aa317a82816b130647df7278c4bb99e65930275a (diff) |
Ipo.c
Removed a block of a bunch of unused vars...
Added a return NULL to the end of a funtion that is suppose to
return something and could fall through.
editconstraint.c
Added a newline to the end of the file to get rid of a stupid warning.
Kent
Diffstat (limited to 'source/blender/python/api2_2x')
-rw-r--r-- | source/blender/python/api2_2x/Ipo.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/source/blender/python/api2_2x/Ipo.c b/source/blender/python/api2_2x/Ipo.c index 4fd548c5a76..fa64204c915 100644 --- a/source/blender/python/api2_2x/Ipo.c +++ b/source/blender/python/api2_2x/Ipo.c @@ -1143,17 +1143,6 @@ Ipo_addCurve (BPy_Ipo * self, PyObject * args) void allqueue (unsigned short event, short val); int param = 0, ok = 0, ipofound = 0; char *s = 0; - ID id; - struct Lamp * la = 0; - struct Camera * ca = 0; - struct Object * ob = 0; - struct Tex * tex = 0; - struct World * wo = 0; - struct Material * mat = 0; - struct Key * ke = 0; - /*struct bAction * ac = 0;*/ - struct Curve * cu = 0; - /*struct Sequence * seq = 0;*/ Ipo *ipo = 0; IpoCurve *icu = 0; Link *link; @@ -1305,6 +1294,7 @@ GetIpoCurveName(IpoCurve * icu) return getname_co_ei(icu->adrcode); } } + return NULL; } static PyObject * |