diff options
author | Kent Mein <mein@cs.umn.edu> | 2002-10-30 03:27:48 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2002-10-30 03:27:48 +0300 |
commit | df6b70a9ca07b81f5c21d9d4e7014a379f9e0809 (patch) | |
tree | 78d0ef810a24de08416d29e899c1ef2001613d4d /source/blender/src | |
parent | ca3392a3107964365524e0c93348623992594ae0 (diff) |
removed some unused variables
Diffstat (limited to 'source/blender/src')
-rw-r--r-- | source/blender/src/buttons.c | 2 | ||||
-rw-r--r-- | source/blender/src/drawnla.c | 4 | ||||
-rw-r--r-- | source/blender/src/editarmature.c | 5 | ||||
-rw-r--r-- | source/blender/src/editconstraint.c | 4 | ||||
-rw-r--r-- | source/blender/src/editnla.c | 3 |
5 files changed, 8 insertions, 10 deletions
diff --git a/source/blender/src/buttons.c b/source/blender/src/buttons.c index 6aa26548926..d72d3393cc2 100644 --- a/source/blender/src/buttons.c +++ b/source/blender/src/buttons.c @@ -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) diff --git a/source/blender/src/drawnla.c b/source/blender/src/drawnla.c index d5a729b7378..8bbcd4b8c2d 100644 --- a/source/blender/src/drawnla.c +++ b/source/blender/src/drawnla.c @@ -219,7 +219,6 @@ static void draw_nlastrips(SpaceNla *snla) rcti scr_rct; gla2DDrawInfo *di; Base *base; - int offset = 0; bConstraintChannel *conchan; float y; @@ -520,4 +519,5 @@ int nla_filter (Base* base, int flags) return 1; else return 0; -}
\ No newline at end of file +} + diff --git a/source/blender/src/editarmature.c b/source/blender/src/editarmature.c index 31c9c94fa6f..ca76b6607cb 100644 --- a/source/blender/src/editarmature.c +++ b/source/blender/src/editarmature.c @@ -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]; @@ -2571,4 +2571,5 @@ void auto_align_armature(void) } } -}
\ No newline at end of file +} + diff --git a/source/blender/src/editconstraint.c b/source/blender/src/editconstraint.c index 17d59a18192..1da9069769e 100644 --- a/source/blender/src/editconstraint.c +++ b/source/blender/src/editconstraint.c @@ -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; @@ -750,4 +749,5 @@ bConstraintChannel *add_new_constraint_channel(const char* name) strcpy(chan->name, name); return chan; -}
\ No newline at end of file +} + diff --git a/source/blender/src/editnla.c b/source/blender/src/editnla.c index 54ee4682c0e..1691d279ffd 100644 --- a/source/blender/src/editnla.c +++ b/source/blender/src/editnla.c @@ -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; @@ -1735,4 +1734,4 @@ static void delete_nlachannels(void){ } } } -}
\ No newline at end of file +} |