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
int n;
int i = 0;
for (n= 0; n < num_segs; n++) {
#if 0
@ -259,22 +258,3 @@ MaxExtension(
return output;
}

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

@ -6497,7 +6497,6 @@ static void activate_constraint_ipo_func (void *arg1v, void *unused)
bConstraint *con = arg1v;
bConstraintChannel *chan;
ListBase *conbase;
Ipo *ipo = 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(REDRAWNLA, 0);
}
static void del_constraint_func (void *arg1v, void *arg2v)

@ -219,7 +219,6 @@ static void draw_nlastrips(SpaceNla *snla)
rcti scr_rct;
gla2DDrawInfo *di;
Base *base;
int offset = 0;
bConstraintChannel *conchan;
float y;
@ -521,3 +520,4 @@ int nla_filter (Base* base, int flags)
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 */
{
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 curmat[4][4], diffmat[4][4];
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)
{
Object *curob;
int working = 1;
Bone *bone = NULL;
Bone *parbone= NULL;
@ -751,3 +750,4 @@ bConstraintChannel *add_new_constraint_channel(const char* name)
return chan;
}

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