From: simon Date: Sun, 7 Oct 2012 15:41:44 +0000 (+0000) Subject: Remove an unused variable spotted by gcc 4.6.3. X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/commitdiff_plain/9537a20c2976c1a12380c91609eb8d383ef2c52e Remove an unused variable spotted by gcc 4.6.3. git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9682 cda61777-01e9-0310-a592-d414129be87e --- 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++) {