shithub: puzzles

Download patch

ref: 5dc47a7ba11c27f39f8ae5aeaa7b8703479324c5
parent: c9b47daf1b11d7187e2d910c51c5679908782c80
author: Simon Tatham <anakin@pobox.com>
date: Wed Aug 24 17:44:54 EDT 2005

Optimiser placation for OS X gcc.

[originally from svn r6212]

--- a/loopy.c
+++ b/loopy.c
@@ -2226,6 +2226,7 @@
     /*
      * Check for completion.
      */
+    i = 0;			       /* placate optimiser */
     for (j = 0; j <= newstate->h; j++) {
 	for (i = 0; i < newstate->w; i++)
 	    if (LV_RIGHTOF_DOT(newstate, i, j) == LINE_YES)