aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2012-10-07 15:41:44 +0000
committerSimon Tatham <anakin@pobox.com>2012-10-07 15:41:44 +0000
commit8dddfc22d709c8ee246d08cf31a85fc9401f67d6 (patch)
treed3d147212e9ab9b2561c96665a9c97d9624204d6
parentfc9e6277bdd8b354b9febe56b0022441430c4465 (diff)
downloadpuzzles-8dddfc22d709c8ee246d08cf31a85fc9401f67d6.zip
puzzles-8dddfc22d709c8ee246d08cf31a85fc9401f67d6.tar.gz
puzzles-8dddfc22d709c8ee246d08cf31a85fc9401f67d6.tar.bz2
puzzles-8dddfc22d709c8ee246d08cf31a85fc9401f67d6.tar.xz
Remove an unused variable spotted by gcc 4.6.3.
[originally from svn r9682]
-rw-r--r--unruly.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/unruly.c b/unruly.c
index c4e9ae0..3383b5f 100644
--- a/unruly.c
+++ b/unruly.c
@@ -1674,8 +1674,6 @@ static void game_print(drawing *dr, game_state *state, int tilesize)
int x, y;
int ink = print_mono_colour(dr, 0);
- char buf[2];
- buf[1] = '\0';
for (y = 0; y < h2; y++)
for (x = 0; x < w2; x++) {