chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc9e627
)
Remove an unused variable spotted by gcc 4.6.3.
author
Simon Tatham
<anakin@pobox.com>
Sun, 7 Oct 2012 15:41:44 +0000
(15:41 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Sun, 7 Oct 2012 15:41:44 +0000
(15:41 +0000)
[originally from svn r9682]
unruly.c
patch
|
blob
|
history
diff --git
a/unruly.c
b/unruly.c
index c4e9ae03dfadd6c6aa973f4c6015b49e81860569..3383b5fb11dc2d35837f4d6e304c280057cd149b 100644
(file)
--- 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++) {