mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Optimiser placation for OS X gcc.
[originally from svn r6212]
This commit is contained in:
1
loopy.c
1
loopy.c
@ -2226,6 +2226,7 @@ static game_state *execute_move(game_state *state, char *move)
|
|||||||
/*
|
/*
|
||||||
* Check for completion.
|
* Check for completion.
|
||||||
*/
|
*/
|
||||||
|
i = 0; /* placate optimiser */
|
||||||
for (j = 0; j <= newstate->h; j++) {
|
for (j = 0; j <= newstate->h; j++) {
|
||||||
for (i = 0; i < newstate->w; i++)
|
for (i = 0; i < newstate->w; i++)
|
||||||
if (LV_RIGHTOF_DOT(newstate, i, j) == LINE_YES)
|
if (LV_RIGHTOF_DOT(newstate, i, j) == LINE_YES)
|
||||||
|
Reference in New Issue
Block a user