瀏覽代碼

Remove unused variable in fmt_serverstatus.c

Neel Chauhan 6 年之前
父節點
當前提交
398c736230
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/feature/control/fmt_serverstatus.c

+ 0 - 1
src/feature/control/fmt_serverstatus.c

@@ -70,7 +70,6 @@ list_server_status_v1(smartlist_t *routers, char **router_status_out,
   /* We include v2 dir auths here too, because they need to answer
    * controllers. Eventually we'll deprecate this whole function;
    * see also networkstatus_getinfo_by_purpose(). */
-  int authdir = authdir_mode_publishes_statuses(options);
   tor_assert(router_status_out);
 
   rs_entries = smartlist_new();