summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-05-30 23:05:31 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-05-30 23:05:31 +0200
commit98d4a4dfb3534e2f9c1dbfacd94057b311ba6870 (patch)
tree45043e9c3b124ffdbf0d6cf5a72e1e10063f08d8 /src/journal
parent5043ec64766de6d97b692e94874a4658ff46df00 (diff)
downloadsystemd-98d4a4dfb3534e2f9c1dbfacd94057b311ba6870.tar.gz
systemd-98d4a4dfb3534e2f9c1dbfacd94057b311ba6870.tar.bz2
systemd-98d4a4dfb3534e2f9c1dbfacd94057b311ba6870.zip
sd-journal: voidify call
To appease coverity, CID#1400674.
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/sd-journal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c
index 82e7d59fbb..40baf2b374 100644
--- a/src/journal/sd-journal.c
+++ b/src/journal/sd-journal.c
@@ -1734,7 +1734,7 @@ static void remove_directory(sd_journal *j, Directory *d) {
hashmap_remove(j->directories_by_wd, INT_TO_PTR(d->wd));
if (j->inotify_fd >= 0)
- inotify_rm_watch(j->inotify_fd, d->wd);
+ (void) inotify_rm_watch(j->inotify_fd, d->wd);
}
hashmap_remove(j->directories_by_path, d->path);