compat: Fix unchecked return value from event_del()

Explicitly tell the compiler we don't care about it.

Coverity CID 1434156

Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
David Goulet 2018-04-09 14:09:40 -04:00
parent e58555135a
commit 395fa0258d

View File

@ -322,7 +322,7 @@ mainloop_event_cancel(mainloop_event_t *event)
{
if (!event)
return;
event_del(event->ev);
(void) event_del(event->ev);
}
/** Cancel <b>event</b> and release all storage associated with it. */