initctl: (void)ify epoll_ctl()

CID 996298
This commit is contained in:
Anita Zhang
2020-01-10 10:06:09 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent e127d90210
commit 0e05be8405
+1 -1
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);
}