浏览代码

mark dirinfo_type as unused in populate_live_entry_guards

Nick Mathewson 9 年之前
父节点
当前提交
081b0c0f77
共有 1 个文件被更改,包括 2 次插入0 次删除
  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;