aboutsummaryrefslogtreecommitdiff
path: root/towers.c
diff options
context:
space:
mode:
Diffstat (limited to 'towers.c')
-rw-r--r--towers.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/towers.c b/towers.c
index 7beaf87..94ed1a7 100644
--- a/towers.c
+++ b/towers.c
@@ -1225,14 +1225,13 @@ static int check_errors(game_state *state, int *errors)
}
for (i = 0; i < 4*w; i++) {
- int start, step, j, k, n, best;
+ int start, step, j, n, best;
STARTSTEP(start, step, i, w);
if (!clues[i])
continue;
best = n = 0;
- k = 0;
for (j = 0; j < w; j++) {
int number = grid[start+j*step];
if (!number)