From: Zbigniew Jędrzejewski-Szmek Date: Thu, 30 May 2019 21:05:31 +0000 (+0200) Subject: sd-journal: voidify call X-Git-Tag: v243-rc1~335^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12705%2Fhead;p=thirdparty%2Fsystemd.git sd-journal: voidify call To appease coverity, CID#1400674. --- diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c index 82e7d59fbb2..40baf2b3740 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);