mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -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;
|
||||
|
||||
#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;
|
||||
|
Reference in New Issue
Block a user