[or-cvs] [tor/master] make c612ddee compile with old libevents

arma at torproject.org arma at torproject.org
Wed Sep 29 06:58:47 UTC 2010


Author: Roger Dingledine <arma at torproject.org>
Date: Wed, 29 Sep 2010 02:50:46 -0400
Subject: make c612ddee compile with old libevents
Commit: 50720a9a4f8ea4433f3696d42d2f640ad970b285

---
 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 6afd3c1..d94f615 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 ||
-- 
1.7.1



More information about the tor-commits mailing list