From f284ba64b0c22fa1d2f4abe5348081ce82288b0b Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Fri, 3 Sep 2004 14:31:06 +0000 Subject: 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 --- source/blender/python/api2_2x/Ipo.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'source/blender/python/api2_2x/Ipo.c') 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 * -- cgit v1.2.3