diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-03-27 14:36:36 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-03-27 18:09:56 +0100 |
commit | 6990fb6bc6f9421a15a3e0b02909b7526cd4cbfc (patch) | |
tree | db2aeb45c8616b52c10f616de5bfc27462add82c /src/sysusers | |
parent | 36dbf9717030d0a9d69df2e6180284834fa8a851 (diff) | |
download | systemd-6990fb6bc6f9421a15a3e0b02909b7526cd4cbfc.tar.gz |
tree-wide: (void)ify a few unlink() and rmdir()
Let's be helpful to static analyzers which care about whether we
knowingly ignore return values. We do in these cases, since they are
usually part of error paths.
Diffstat (limited to 'src/sysusers')
-rw-r--r-- | src/sysusers/sysusers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysusers/sysusers.c b/src/sysusers/sysusers.c index df28bcfd72..b9fa334858 100644 --- a/src/sysusers/sysusers.c +++ b/src/sysusers/sysusers.c @@ -244,7 +244,7 @@ static int make_backup(const char *target, const char *x) { return 0; fail: - unlink(temp); + (void) unlink(temp); return r; } |