shithub: puzzles

Download patch

ref: 8dddfc22d709c8ee246d08cf31a85fc9401f67d6
parent: fc9e6277bdd8b354b9febe56b0022441430c4465
author: Simon Tatham <anakin@pobox.com>
date: Sun Oct 7 11:41:44 EDT 2012

Remove an unused variable spotted by gcc 4.6.3.

[originally from svn r9682]

--- a/unruly.c
+++ b/unruly.c
@@ -1674,8 +1674,6 @@
     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++) {