[tor-commits] [tor/master] Remove unused variable in fmt_serverstatus.c

nickm at torproject.org nickm at torproject.org
Fri Apr 26 00:28:08 UTC 2019


commit 398c736230719e6b8eb539c7b08a5acfc0463db1
Author: Neel Chauhan <neel at neelc.org>
Date:   Thu Apr 11 22:11:27 2019 -0400

    Remove unused variable in fmt_serverstatus.c
---
 src/feature/control/fmt_serverstatus.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/feature/control/fmt_serverstatus.c b/src/feature/control/fmt_serverstatus.c
index fc1029ae8..1fc5d4a15 100644
--- a/src/feature/control/fmt_serverstatus.c
+++ b/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();





More information about the tor-commits mailing list