diff options
author | Roger Dingledine <arma@torproject.org> | 2010-09-29 02:50:46 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2010-09-29 02:50:46 -0400 |
commit | 50720a9a4f8ea4433f3696d42d2f640ad970b285 (patch) | |
tree | 7791f1203f2ac9ab80cebe924b8b5173063ebe0f | |
parent | 703eb087f597fa3456627e47862038a4ce73089e (diff) | |
download | tor-50720a9a4f8ea4433f3696d42d2f640ad970b285.tar.gz tor-50720a9a4f8ea4433f3696d42d2f640ad970b285.zip |
make c612ddee compile with old libevents
-rw-r--r-- | src/common/compat_libevent.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 || |