Optimiser placation for OS X gcc.

[originally from svn r6212]
This commit is contained in:
Simon Tatham
2005-08-24 21:44:54 +00:00
parent c9b47daf1b
commit 5dc47a7ba1

View File

@ -2226,6 +2226,7 @@ static game_state *execute_move(game_state *state, char *move)
/*
* Check for completion.
*/
i = 0; /* placate optimiser */
for (j = 0; j <= newstate->h; j++) {
for (i = 0; i < newstate->w; i++)
if (LV_RIGHTOF_DOT(newstate, i, j) == LINE_YES)