Browse Source

make c612ddee compile with old libevents

Roger Dingledine 13 years ago
parent
commit
50720a9a4f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/common/compat_libevent.c

+ 2 - 0
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 ||