From 50720a9a4f8ea4433f3696d42d2f640ad970b285 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 29 Sep 2010 02:50:46 -0400 Subject: [PATCH] make c612ddee compile with old libevents --- src/common/compat_libevent.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/compat_libevent.c b/src/common/compat_libevent.c index 6afd3c1d29..d94f615f74 100644 --- a/src/common/compat_libevent.c +++ b/src/common/compat_libevent.c @@ -162,6 +162,8 @@ void tor_libevent_initialize(tor_libevent_cfg *torcfg) { tor_assert(the_event_base == NULL); + /* some paths below don't use torcfg, so avoid unused variable warnings */ + (void)torcfg; #ifdef __APPLE__ if (MACOSX_KQUEUE_IS_BROKEN ||