diff options
author | David Goulet <dgoulet@torproject.org> | 2018-04-09 14:09:40 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-04-09 14:12:45 -0400 |
commit | 395fa0258d56b24e39cd714834ffe0dcb365ea25 (patch) | |
tree | f3aacdf83c44dd9f1ee77ebc17487e31a6791893 /src/common | |
parent | e58555135a11e1c78b130cb4807d5dc1d1dfe97b (diff) | |
download | tor-395fa0258d56b24e39cd714834ffe0dcb365ea25.tar.gz tor-395fa0258d56b24e39cd714834ffe0dcb365ea25.zip |
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>
Diffstat (limited to 'src/common')
-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 cb311ea462..0d0e4337bb 100644 --- a/src/common/compat_libevent.c +++ b/src/common/compat_libevent.c @@ -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. */ |