The regular warning fix update; includes two variables that were used

without initialization.

For Brecht:

source/blender/blenkernel/intern/subsurf_ccg.c:329: warning: left-hand operand of comma expression has no effect

This line I don't understand...
This commit is contained in:
2006-02-18 16:21:32 +00:00
parent f4ddc2fde2
commit 7117d7f2c3
5 changed files with 14 additions and 69 deletions

View File

@@ -1569,7 +1569,8 @@ void mergemenu(void)
{
short event;
int remCount;
int remCount= 0;
if(G.scene->selectmode == SCE_SELECT_VERTEX)
if(G.editMesh->firstvert && G.editMesh->lastvert) event = pupmenu("Merge %t|At First %x6|At Last%x1|At Center%x3|At Cursor%x4");
else if (G.editMesh->firstvert) event = pupmenu("Merge %t|At First %x6|At Center%x3|At Cursor%x4");