summaryrefslogtreecommitdiffstats
path: root/common/hush.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-01-26 12:40:48 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-01-27 14:24:10 +0100
commita01e54d2015ea692e96f8909b3b1a75e0443445e (patch)
treec2313760cfa75a6bfb17f9524b78289847912fd1 /common/hush.c
parentea53e1b5724d78bc6e5cf49d48bf33bdef74faa5 (diff)
downloadbarebox-a01e54d2015ea692e96f8909b3b1a75e0443445e.tar.gz
treewide: fix format specifiers
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/hush.c')
-rw-r--r--common/hush.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/hush.c b/common/hush.c
index f9e6411..1f468f6 100644
--- a/common/hush.c
+++ b/common/hush.c
@@ -937,14 +937,12 @@ static int run_list_real(struct p_context *ctx, struct pipe *pi)
return rcode;
}
-#ifdef DEBUG
/* broken, of course, but OK for testing */
-static char *indenter(int i)
+static __maybe_unused char *indenter(int i)
{
static char blanks[] = " ";
return &blanks[sizeof(blanks) - i - 1];
}
-#endif
/* return code is the exit status of the pipe */
static int free_pipe(struct pipe *pi, int indent)