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: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Martin Kletzander 2014-11-12 17:41:38 +01:00
parent dc33e6e4a5
commit 9fdb2b55d5

View File

@ -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"));
}