Commit 434fcf81 authored by David Gibson's avatar David Gibson

configurator: Clarify empty if

configurator.c contains an if with an empty statement on the same line as
the condition.  This is very easy to misread, and also causes a warning
from clang, so move the ; onto the next line.
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 253b174c
...@@ -497,7 +497,8 @@ static bool run_test(const char *cmd, struct test *test) ...@@ -497,7 +497,8 @@ static bool run_test(const char *cmd, struct test *test)
fclose(outf); fclose(outf);
if (verbose > 1) if (verbose > 1)
if (system("cat " INPUT_FILE) == -1); if (system("cat " INPUT_FILE) == -1)
;
newcmd = strdup(cmd); newcmd = strdup(cmd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment