mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user