diff options
author | David Goulet <dgoulet@torproject.org> | 2023-01-19 09:38:21 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2023-01-19 11:18:02 -0500 |
commit | d02d2a4338bdade748b334ec01abac0cdaf76563 (patch) | |
tree | 82fecd873501390758cca735144c8693e4dfbd85 /src/lib/evloop/compat_libevent.c | |
parent | 49f10c5130770bd490826873f9d80f1cb42d74e2 (diff) | |
download | tor-d02d2a4338bdade748b334ec01abac0cdaf76563.tar.gz tor-d02d2a4338bdade748b334ec01abac0cdaf76563.zip |
Fix compiler warnings about unused variables
Fixes #40743
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/lib/evloop/compat_libevent.c')
-rw-r--r-- | src/lib/evloop/compat_libevent.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/evloop/compat_libevent.c b/src/lib/evloop/compat_libevent.c index fd840f8085..c882d3478e 100644 --- a/src/lib/evloop/compat_libevent.c +++ b/src/lib/evloop/compat_libevent.c @@ -137,10 +137,8 @@ tor_libevent_initialize(tor_libevent_cfg_t *torcfg) (void)torcfg; { - int attempts = 0; struct event_config *cfg; - ++attempts; cfg = event_config_new(); tor_assert(cfg); |