From: Roger Dingledine Date: Wed, 29 Sep 2010 06:50:46 +0000 (-0400) Subject: make c612ddee compile with old libevents X-Git-Tag: tor-0.2.3.1-alpha~353 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50720a9a4f8ea4433f3696d42d2f640ad970b285;p=thirdparty%2Ftor.git make c612ddee compile with old libevents --- 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 ||