Explorar o código

make c612ddee compile with old libevents

Roger Dingledine %!s(int64=15) %!d(string=hai) anos
pai
achega
50720a9a4f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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 ||