From: Lennart Poettering Date: Wed, 6 Mar 2019 10:42:12 +0000 (+0100) Subject: catalog: (void)ify all things X-Git-Tag: v242-rc1~181^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d477d6101fa047b146607b4f0996a30bd810386;p=thirdparty%2Fsystemd.git catalog: (void)ify all things --- diff --git a/src/journal/catalog.c b/src/journal/catalog.c index af9e9191b1f..0106538772a 100644 --- a/src/journal/catalog.c +++ b/src/journal/catalog.c @@ -425,7 +425,7 @@ static int64_t write_catalog( goto error; } - fchmod(fileno(w), 0644); + (void) fchmod(fileno(w), 0644); if (rename(p, database) < 0) { r = log_error_errno(errno, "rename (%s -> %s) failed: %m", p, database);