mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
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
This commit is contained in:

committed by
Simon Tatham

parent
49dbf1f60d
commit
0dc46506ca
12
towers.c
12
towers.c
@ -385,12 +385,12 @@ static int solver_easy(struct latin_solver *solver, void *vctx)
|
|||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
#ifdef STANDALONE_SOLVER
|
#ifdef STANDALONE_SOLVER
|
||||||
if (solver_show_working)
|
if (solver_show_working)
|
||||||
sprintf(prefix, "%*slower bounds for clue %s %d:\n",
|
sprintf(prefix, "%*slower bounds for clue %s %d:\n",
|
||||||
solver_recurse_depth*4, "",
|
solver_recurse_depth*4, "",
|
||||||
cluepos[c/w], c%w+1);
|
cluepos[c/w], c%w+1);
|
||||||
else
|
else
|
||||||
prefix[0] = '\0'; /* placate optimiser */
|
prefix[0] = '\0'; /* placate optimiser */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
|
Reference in New Issue
Block a user