mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 13:17:58 +03:00
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:
parent
dc33e6e4a5
commit
9fdb2b55d5
@ -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"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user