removed some unused variables

This commit is contained in:
Kent Mein 2002-10-30 00:27:48 +00:00
parent ca3392a310
commit df6b70a9ca
7 changed files with 8 additions and 31 deletions

@ -149,7 +149,6 @@ ComputeJacobian(
// compute the transposed jacobian first // compute the transposed jacobian first
int n; int n;
int i = 0;
for (n= 0; n < num_segs; n++) { for (n= 0; n < num_segs; n++) {
#if 0 #if 0
@ -259,22 +258,3 @@ MaxExtension(
return output; return output;
} }

@ -74,7 +74,6 @@ setRotation(
MT_ExpMap:: MT_ExpMap::
getRotation( getRotation(
) const { ) const {
bool rep=0;
MT_Scalar cosp, sinp, theta; MT_Scalar cosp, sinp, theta;
MT_Quaternion q; MT_Quaternion q;

@ -6497,7 +6497,6 @@ static void activate_constraint_ipo_func (void *arg1v, void *unused)
bConstraint *con = arg1v; bConstraint *con = arg1v;
bConstraintChannel *chan; bConstraintChannel *chan;
ListBase *conbase; ListBase *conbase;
Ipo *ipo = NULL;
get_constraint_client(NULL, NULL, NULL); get_constraint_client(NULL, NULL, NULL);
@ -6525,7 +6524,6 @@ static void activate_constraint_ipo_func (void *arg1v, void *unused)
allqueue(REDRAWIPO, 0); allqueue(REDRAWIPO, 0);
allqueue(REDRAWNLA, 0); allqueue(REDRAWNLA, 0);
} }
static void del_constraint_func (void *arg1v, void *arg2v) static void del_constraint_func (void *arg1v, void *arg2v)

@ -219,7 +219,6 @@ static void draw_nlastrips(SpaceNla *snla)
rcti scr_rct; rcti scr_rct;
gla2DDrawInfo *di; gla2DDrawInfo *di;
Base *base; Base *base;
int offset = 0;
bConstraintChannel *conchan; bConstraintChannel *conchan;
float y; float y;
@ -521,3 +520,4 @@ int nla_filter (Base* base, int flags)
else return 0; else return 0;
} }

@ -2542,7 +2542,7 @@ void auto_align_armature(void)
/* Sets the roll value of selected bones so that their zaxes point upwards */ /* Sets the roll value of selected bones so that their zaxes point upwards */
{ {
EditBone *ebone; EditBone *ebone;
float xaxis[3]={1.0, 0.0, 0.0}, yaxis[3], zaxis[3]={0.0, 0.0, 1.0}, ytest[3]={0.0, -1.0, 0.0}; float xaxis[3]={1.0, 0.0, 0.0}, yaxis[3], zaxis[3]={0.0, 0.0, 1.0};
float targetmat[4][4], imat[4][4]; float targetmat[4][4], imat[4][4];
float curmat[4][4], diffmat[4][4]; float curmat[4][4], diffmat[4][4];
float delta[3]; float delta[3];
@ -2572,3 +2572,4 @@ void auto_align_armature(void)
} }
} }
} }

@ -124,7 +124,6 @@ void unique_constraint_name (bConstraint *con, ListBase *list){
static int is_child_of_ex(Object *owner, const char *ownersubstr, Object *parent, const char *parsubstr) static int is_child_of_ex(Object *owner, const char *ownersubstr, Object *parent, const char *parsubstr)
{ {
Object *curob; Object *curob;
int working = 1;
Bone *bone = NULL; Bone *bone = NULL;
Bone *parbone= NULL; Bone *parbone= NULL;
@ -751,3 +750,4 @@ bConstraintChannel *add_new_constraint_channel(const char* name)
return chan; return chan;
} }

@ -397,7 +397,6 @@ static void add_nlablock(short mval[2])
Base *base; Base *base;
bAction *act=NULL; bAction *act=NULL;
bActionStrip *strip; bActionStrip *strip;
int foundsel=0;
float ymin, ymax; float ymin, ymax;
float x, y; float x, y;
rctf rectf; rctf rectf;