1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00

initctl: (void)ify epoll_ctl()

CID 996298
This commit is contained in:
Anita Zhang 2020-01-10 00:29:11 -08:00 committed by Zbigniew Jędrzejewski-Szmek
parent e127d90210
commit 0e05be8405

View File

@ -221,7 +221,7 @@ static void fifo_free(Fifo *f) {
if (f->fd >= 0) {
if (f->server)
epoll_ctl(f->server->epoll_fd, EPOLL_CTL_DEL, f->fd, NULL);
(void) epoll_ctl(f->server->epoll_fd, EPOLL_CTL_DEL, f->fd, NULL);
safe_close(f->fd);
}