Fixed compiler warnings. (unused vars)

This commit is contained in:
Joshua Leung 2008-03-27 05:12:14 +00:00
parent 09e48b406b
commit bc518579a6
3 changed files with 2 additions and 5 deletions

@ -35,6 +35,7 @@ struct EditMesh;
struct SpaceImage;
struct EditFace;
struct MTFace;
struct Image;
/* id can be from 0 to 3 */
#define TF_PIN_MASK(id) (TF_PIN1 << id)

@ -4277,7 +4277,7 @@ static void doAnimEdit_SnapFrame(TransInfo *t, TransData *td, Object *ob, short
if (autosnap == SACTSNAP_FRAME) {
short doTime= getAnimEdit_DrawTime(t);
double secf= FPS;
float val;
double val;
/* convert frame to nla-action time (if needed) */
if (ob)

@ -1062,14 +1062,10 @@ void view_zoom_mouseloc(float dfac, short *mouseloc)
void viewmoveNDOF(int mode)
{
static double prevTime = 0.0;
int i;
float fval[7];
float dvec[3];
float sbadjust = 1.0f;
float len;
double now, frametime;
short use_sel = 0;
Object *ob = OBACT;
float m[3][3];