diff --git a/src/common/compat_libevent.c b/src/common/compat_libevent.c index cb311ea462..0d0e4337bb 100644 --- a/src/common/compat_libevent.c +++ b/src/common/compat_libevent.c @@ -322,7 +322,7 @@ mainloop_event_cancel(mainloop_event_t *event) { if (!event) return; - event_del(event->ev); + (void) event_del(event->ev); } /** Cancel event and release all storage associated with it. */