瀏覽代碼

Remove unused get_options()

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

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

@@ -66,7 +66,6 @@ list_server_status_v1(smartlist_t *routers, char **router_status_out,
   smartlist_t *rs_entries;
   time_t now = time(NULL);
   time_t cutoff = now - ROUTER_MAX_AGE_TO_PUBLISH;
-  const or_options_t *options = get_options();
   /* 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(). */