Explorar o código

mark dirinfo_type as unused in populate_live_entry_guards

Nick Mathewson %!s(int64=11) %!d(string=hai) anos
pai
achega
081b0c0f77
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/or/entrynodes.c

+ 2 - 0
src/or/entrynodes.c

@@ -1023,6 +1023,8 @@ populate_live_entry_guards(smartlist_t *live_entry_guards,
   int retval = 0;
   entry_is_live_flags_t entry_flags = 0;
 
+  (void) dirinfo_type;
+
   { /* Set the flags we want our entry node to have */
     if (need_uptime) {
       entry_flags |= ENTRY_NEED_UPTIME;