mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 02:09:24 +01:00
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)
|
||||
return;
|
||||
event_del(event->ev);
|
||||
(void) event_del(event->ev);
|
||||
}
|
||||
|
||||
/** Cancel <b>event</b> and release all storage associated with it. */
|
||||
|
Loading…
Reference in New Issue
Block a user