Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/python/api2_2x/Ipo.c')
-rw-r--r--source/blender/python/api2_2x/Ipo.c12
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 *