Code cleanup - silence some "uninitialised" warnings in BMesh code

There are still a lot more in bmo_bevel.c and bmo_extrude.c, but those don't
seem that easy to fix.
This commit is contained in:
Joshua Leung
2012-10-08 06:28:06 +00:00
parent 8b765373e1
commit 8b7f410f95

View File

@@ -499,7 +499,7 @@ static void *bmw_LoopWalker_step(BMWalker *walker)
BMEdge *e = lwalk->cur, *nexte = NULL;
BMLoop *l;
BMVert *v;
int i;
int i = 0;
owalk = *lwalk;
BMW_state_remove(walker);
@@ -534,7 +534,7 @@ static void *bmw_LoopWalker_step(BMWalker *walker)
}
else if (l) { /* NORMAL EDGE WITH FACES */
int vert_edge_tot;
int stopi;
int stopi = 0;
v = BM_edge_other_vert(e, lwalk->lastv);