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:
parent
e58555135a
commit
395fa0258d
|
@ -322,7 +322,7 @@ mainloop_event_cancel(mainloop_event_t *event)
|
||||||
{
|
{
|
||||||
if (!event)
|
if (!event)
|
||||||
return;
|
return;
|
||||||
event_del(event->ev);
|
(void) event_del(event->ev);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Cancel <b>event</b> and release all storage associated with it. */
|
/** Cancel <b>event</b> and release all storage associated with it. */
|
||||||
|
|
Loading…
Reference in New Issue