From 0dc46506ca85eb49299fc62a4362c8a4a655e320 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Thu, 30 Jun 2016 14:43:16 +0200 Subject: [PATCH] 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 --- towers.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/towers.c b/towers.c index dd3a09d..839ba7f 100644 --- a/towers.c +++ b/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;