diff options
| author | Simon Tatham <anakin@pobox.com> | 2019-04-14 21:24:19 +0100 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2019-04-14 21:24:19 +0100 |
| commit | e2135d51c51a39f05e2c20c70111b27c15952803 (patch) | |
| tree | c47ee4da39425dc5b9c766ef08724d1a656e487a | |
| parent | 1ffc73713062736a1a5f255f5f8dec3de027269c (diff) | |
| download | puzzles-e2135d51c51a39f05e2c20c70111b27c15952803.zip puzzles-e2135d51c51a39f05e2c20c70111b27c15952803.tar.gz puzzles-e2135d51c51a39f05e2c20c70111b27c15952803.tar.bz2 puzzles-e2135d51c51a39f05e2c20c70111b27c15952803.tar.xz | |
Fix build failure in C90 mode.
Thanks to Anders Höglund for pointing it out.
| -rw-r--r-- | dominosa.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2322,8 +2322,9 @@ static char *new_game_desc(const game_params *params, random_state *rs, } 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) |