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
This commit is contained in:
@@ -1143,17 +1143,6 @@ Ipo_addCurve (BPy_Ipo * self, PyObject * args)
|
|||||||
void allqueue (unsigned short event, short val);
|
void allqueue (unsigned short event, short val);
|
||||||
int param = 0, ok = 0, ipofound = 0;
|
int param = 0, ok = 0, ipofound = 0;
|
||||||
char *s = 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;
|
Ipo *ipo = 0;
|
||||||
IpoCurve *icu = 0;
|
IpoCurve *icu = 0;
|
||||||
Link *link;
|
Link *link;
|
||||||
@@ -1305,6 +1294,7 @@ GetIpoCurveName(IpoCurve * icu)
|
|||||||
return getname_co_ei(icu->adrcode);
|
return getname_co_ei(icu->adrcode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
|
|||||||
@@ -842,3 +842,4 @@ char *get_con_subtarget_name(bConstraint *constraint, Object *target)
|
|||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user