[tor-commits] [tor/master] Remove unused get_options()

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


commit cc87acf29b40a135745f74412caaececf8ea0329
Author: Neel Chauhan <neel at neelc.org>
Date:   Sun Apr 14 14:51:42 2019 -0400

    Remove unused get_options()
---
 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 1fc5d4a15..d224a1d23 100644
--- a/src/feature/control/fmt_serverstatus.c
+++ b/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(). */





More information about the tor-commits mailing list