summaryrefslogtreecommitdiff
path: root/src/lib/evloop/compat_libevent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evloop/compat_libevent.c')
-rw-r--r--src/lib/evloop/compat_libevent.c2
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);