提交 9fdb2b55 编写于 作者: M Martin Kletzander

virt-aa-helper: Trick invalid syntax-check

Rule sc_prohibit_newline_at_end_of_diagnostic for syntax-check does
check for passing strings ending with '\n' two lines after known
functions.  This is, of course subject to false positives, so for the
sake of future changes, trick that syntax-check by adding one more line
with a comment.
Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
上级 dc33e6e4
......@@ -1257,6 +1257,7 @@ main(int argc, char **argv)
vah_error(ctl, 1, _("could not set PATH"));
}
/* ensure the traditional IFS setting */
if (setenv("IFS", " \t\n", 1) != 0) {
vah_error(ctl, 1, _("could not set IFS"));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册