diff options
author | George Kadianakis <desnacked@riseup.net> | 2018-05-11 15:17:52 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2018-05-11 15:17:52 +0300 |
commit | efe8f17a4dc48d43cbc0a523c9dc0560771ff2c5 (patch) | |
tree | 30b39b3d94f538a67152b06f350c94e549bbab1b /src | |
parent | 75e5b778e10cbc6caa4e4902e288a0c63f92ce06 (diff) | |
download | tor-efe8f17a4dc48d43cbc0a523c9dc0560771ff2c5.tar.gz tor-efe8f17a4dc48d43cbc0a523c9dc0560771ff2c5.zip |
Properly ignore retval of event_del().
Fixes #26078: CID 1435546.
Diffstat (limited to 'src')
-rw-r--r-- | src/common/compat_libevent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat_libevent.c b/src/common/compat_libevent.c index 56ee682fde..e60eb148d8 100644 --- a/src/common/compat_libevent.c +++ b/src/common/compat_libevent.c @@ -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 */ |