]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Remove unused variable in fmt_serverstatus.c
authorNeel Chauhan <neel@neelc.org>
Fri, 12 Apr 2019 02:11:27 +0000 (22:11 -0400)
committerNeel Chauhan <neel@neelc.org>
Fri, 12 Apr 2019 02:11:27 +0000 (22:11 -0400)
src/feature/control/fmt_serverstatus.c

index fc1029ae84427335d060907b5e5e74595dd35cf0..1fc5d4a1572da8f2f12e32e2245c9732669d199c 100644 (file)
@@ -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();