shithub: puzzles

Download patch

ref: 6c3916f77e213f6aa0c5d06df979ccf28a3999d4
parent: a42b11add35eb1986ff2db7817221ace550a8480
author: Simon Tatham <anakin@pobox.com>
date: Sun Aug 7 04:01:51 EDT 2005

Placate optimiser.

[originally from svn r6171]

--- a/slant.c
+++ b/slant.c
@@ -1908,6 +1908,7 @@
      * user with Hard-level deductions. For this reason, we grade
      * the puzzle internally before doing anything else.
      */
+    ret = -1;			       /* placate optimiser */
     for (diff = 0; diff < DIFFCOUNT; diff++) {
 	ret = slant_solve(p->w, p->h, s->clues->clues,
 			  s->soln, sc, diff);