mirror of
https://github.com/systemd/systemd.git
synced 2025-02-10 17:57:40 +03:00
sd-journal: voidify call
To appease coverity, CID#1400674.
This commit is contained in:
parent
5043ec6476
commit
98d4a4dfb3
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user