aboutsummaryrefslogtreecommitdiff
path: root/samegame.c
diff options
context:
space:
mode:
Diffstat (limited to 'samegame.c')
-rw-r--r--samegame.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/samegame.c b/samegame.c
index 5e79115..4eacc90 100644
--- a/samegame.c
+++ b/samegame.c
@@ -865,6 +865,8 @@ static void gen_grid(int w, int h, int nc, int *grid, random_state *rs)
#if defined GENERATION_DIAGNOSTICS || defined COUNT_FAILURES
printf("%d failures\n", failures);
+#else
+ (void)failures;
#endif
#ifdef GENERATION_DIAGNOSTICS
{