aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slant.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/slant.c b/slant.c
index 1730409..908d0e6 100644
--- a/slant.c
+++ b/slant.c
@@ -1908,6 +1908,7 @@ int main(int argc, char **argv)
* 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);