diff options
| author | Ben Hutchings <ben@decadent.org.uk> | 2016-06-30 14:43:16 +0200 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2022-07-31 08:53:08 +0100 |
| commit | 0dc46506ca85eb49299fc62a4362c8a4a655e320 (patch) | |
| tree | 89af56894821bd5e7d174f132ad4b633f3f43939 | |
| parent | 49dbf1f60dc5c6bcb6b3ffadf89e7e0c14106638 (diff) | |
| download | puzzles-0dc46506ca85eb49299fc62a4362c8a4a655e320.zip puzzles-0dc46506ca85eb49299fc62a4362c8a4a655e320.tar.gz puzzles-0dc46506ca85eb49299fc62a4362c8a4a655e320.tar.bz2 puzzles-0dc46506ca85eb49299fc62a4362c8a4a655e320.tar.xz | |
Towers: Fix indentation of some solver code
gcc 6 warns about statements that are indented as if they were meant
to be part of a preceding conditional block. In this case I don't
think that was intended, so shift it left.
References: https://bugs.debian.org/811577
| -rw-r--r-- | towers.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -385,12 +385,12 @@ static int solver_easy(struct latin_solver *solver, void *vctx) return ret; #ifdef STANDALONE_SOLVER - if (solver_show_working) - sprintf(prefix, "%*slower bounds for clue %s %d:\n", - solver_recurse_depth*4, "", - cluepos[c/w], c%w+1); - else - prefix[0] = '\0'; /* placate optimiser */ + if (solver_show_working) + sprintf(prefix, "%*slower bounds for clue %s %d:\n", + solver_recurse_depth*4, "", + cluepos[c/w], c%w+1); + else + prefix[0] = '\0'; /* placate optimiser */ #endif i = 0; |