aboutsummaryrefslogtreecommitdiff
path: root/lightup.c
diff options
context:
space:
mode:
Diffstat (limited to 'lightup.c')
-rw-r--r--lightup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lightup.c b/lightup.c
index 854d28a..3db47f7 100644
--- a/lightup.c
+++ b/lightup.c
@@ -416,6 +416,8 @@ static void debug_state(game_state *state)
int x, y;
char c = '?';
+ (void)c; /* placate -Wunused-but-set-variable if debug() does nothing */
+
for (y = 0; y < state->h; y++) {
for (x = 0; x < state->w; x++) {
c = '.';