summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-01-02 00:01:58 +0100
committerMattias Andrée <maandree@kth.se>2022-01-02 00:01:58 +0100
commitb62f2503318586859779ee3ac69d51d7b3b6bdaf (patch)
tree384b206488aaa669df157b84d25d4f2b05b852a5
parentLint line continuation and whitespace issues (diff)
downloadmakel-b62f2503318586859779ee3ac69d51d7b3b6bdaf.tar.gz
makel-b62f2503318586859779ee3ac69d51d7b3b6bdaf.tar.bz2
makel-b62f2503318586859779ee3ac69d51d7b3b6bdaf.tar.xz
Remove unnecessary brackets
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--mklint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mklint.c b/mklint.c
index c21db40..d2414b8 100644
--- a/mklint.c
+++ b/mklint.c
@@ -52,8 +52,8 @@ check_line_continuations(struct line *lines, size_t nlines)
warnf_unspecified(WC_EOF_LINE_CONTINUATION,
"%s:%zu: line continuation at end of file, causes unspecified behaviour%s",
lines[i].path, lines[i].lineno,
- (!lines[i].nest_level ? "" :
- ", it is especially problematic in an included line"));
+ !lines[i].nest_level ? "" :
+ ", it is especially problematic in an included line");
printinfof(WC_EOF_LINE_CONTINUATION, "this implementation will remove the line continuation");
lines[i].continuation_joiner = 0;
}