ref: e2135d51c51a39f05e2c20c70111b27c15952803
parent: 1ffc73713062736a1a5f255f5f8dec3de027269c
author: Simon Tatham <anakin@pobox.com>
date: Sun Apr 14 17:24:19 EDT 2019
Fix build failure in C90 mode. Thanks to Anders Höglund for pointing it out.
--- a/dominosa.c
+++ b/dominosa.c
@@ -2322,8 +2322,9 @@
}
if (diff != DIFF_AMBIGUOUS) {
+ int solver_result;
solver_setup_grid(sc, as->numbers);
- int solver_result = run_solver(sc, diff);
+ solver_result = run_solver(sc, diff);
if (solver_result > 1)
continue; /* puzzle couldn't be solved at this difficulty */
if (sc->max_diff_used < diff)