Compiler warning fixes (part 1 or 2)

This commit is contained in:
Joshua Leung 2008-06-22 01:56:11 +00:00
parent 86d227367b
commit 1ee7a20b93
3 changed files with 39 additions and 38 deletions

@ -1434,7 +1434,7 @@ static DerivedMesh *doMirrorOnAxis(MirrorModifierData *mmd,
int maxVerts = dm->getNumVerts(dm); int maxVerts = dm->getNumVerts(dm);
int maxEdges = dm->getNumEdges(dm); int maxEdges = dm->getNumEdges(dm);
int maxFaces = dm->getNumFaces(dm); int maxFaces = dm->getNumFaces(dm);
int vector_size, j, a, b; int vector_size=0, j, a, b;
bDeformGroup *def, *defb; bDeformGroup *def, *defb;
bDeformGroup **vector_def = NULL; bDeformGroup **vector_def = NULL;
int (*indexMap)[2]; int (*indexMap)[2];

@ -43,6 +43,8 @@ struct Camera;
struct Texture; struct Texture;
struct Lattice; struct Lattice;
struct bArmature; struct bArmature;
struct Tex;
void add_curve_oopslinks(struct Curve *cu, struct Oops *oops, short flag); void add_curve_oopslinks(struct Curve *cu, struct Oops *oops, short flag);
void add_from_link(struct Oops *from, struct Oops *oops); void add_from_link(struct Oops *from, struct Oops *oops);
void add_material_oopslinks(struct Material *ma, struct Oops *oops, short flag); void add_material_oopslinks(struct Material *ma, struct Oops *oops, short flag);

@ -1153,7 +1153,6 @@ void build_oops()
} }
} }
else if(type==ID_AR && G.soops->visiflag & OOPS_AR) { else if(type==ID_AR && G.soops->visiflag & OOPS_AR) {
bArmature *ar= ob->data;
oops= add_test_oops(ob->data); oops= add_test_oops(ob->data);
} }
} }