X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/6193da8dac4ee67f89c5686c3c8e8ee253f07a0e..67d5174b34232432d17ee7b7c212f84f2811012a:/loopy.c diff --git a/loopy.c b/loopy.c index 2b77798..5b95229 100644 --- a/loopy.c +++ b/loopy.c @@ -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)