Properly ignore retval of event_del().

Fixes #26078: CID 1435546.
This commit is contained in:
George Kadianakis 2018-05-11 15:17:52 +03:00
parent 75e5b778e1
commit efe8f17a4d

View File

@ -283,7 +283,7 @@ void
periodic_timer_disable(periodic_timer_t *timer)
{
tor_assert(timer);
event_del(timer->ev);
(void) event_del(timer->ev);
}
/** Stop and free a periodic timer */