aboutsummaryrefslogtreecommitdiff
path: root/src/feature/control/fmt_serverstatus.c
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2019-04-11 22:11:27 -0400
committerNeel Chauhan <neel@neelc.org>2019-04-11 22:11:27 -0400
commit398c736230719e6b8eb539c7b08a5acfc0463db1 (patch)
tree27b5e674f1b837496af3d212fdb7abc096793f95 /src/feature/control/fmt_serverstatus.c
parent994b8ba424e0e225b3a3b3923044ff900cedfc12 (diff)
downloadtor-398c736230719e6b8eb539c7b08a5acfc0463db1.tar.gz
tor-398c736230719e6b8eb539c7b08a5acfc0463db1.zip
Remove unused variable in fmt_serverstatus.c
Diffstat (limited to 'src/feature/control/fmt_serverstatus.c')
-rw-r--r--src/feature/control/fmt_serverstatus.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/feature/control/fmt_serverstatus.c b/src/feature/control/fmt_serverstatus.c
index fc1029ae84..1fc5d4a157 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();