[tor-commits] [tor/master] mark dirinfo_type as unused in populate_live_entry_guards

nickm at torproject.org nickm at torproject.org
Wed Apr 1 18:20:11 UTC 2015


commit 081b0c0f770a05b4a6a60c23cd9f275f799a8742
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Apr 1 14:20:01 2015 -0400

    mark dirinfo_type as unused in populate_live_entry_guards
---
 src/or/entrynodes.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c
index aec47bf..a9a92e2 100644
--- a/src/or/entrynodes.c
+++ b/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;



More information about the tor-commits mailing list