Commit 395fa025 authored by David Goulet's avatar David Goulet 🐼
Browse files

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's avatarDavid Goulet <dgoulet@torproject.org>
parent e5855513
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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. */