diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-05-30 23:05:31 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-05-30 23:05:31 +0200 |
commit | 98d4a4dfb3534e2f9c1dbfacd94057b311ba6870 (patch) | |
tree | 45043e9c3b124ffdbf0d6cf5a72e1e10063f08d8 /src/journal | |
parent | 5043ec64766de6d97b692e94874a4658ff46df00 (diff) | |
download | systemd-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.c | 2 |
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); |