]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-fileio: do not use variable before checking return value
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 27 Mar 2019 08:18:50 +0000 (09:18 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 27 Mar 2019 10:52:54 +0000 (11:52 +0100)
commitb45556375e0b9989a1245a36fcb673b95eb21f43
treee83fbe9c419ff5e0c9b667d43c261bbff642021b
parenta1917c55c303c28779ed5656eaf4082ac4e6b03a
test-fileio: do not use variable before checking return value

Coverity is unhappy because we use "line" in the assert that checks
the return value. It doesn't matter much, but let's clean this up.
Also, let's not assume that /proc/cmdline contains anything.

CID #1400219.
src/test/test-fileio.c