summaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2017-05-10 17:57:35 -0400
committerRoger Dingledine <arma@torproject.org>2017-05-10 17:57:35 -0400
commit466e27feaebf0bb7a1c906b733a0da2328b21330 (patch)
treeaf30fb2f4f30d41ffae368748d839ce2f55643c1 /src/or/networkstatus.c
parent2330a3713da668bf8c171490af8c414a46a74001 (diff)
downloadtor-466e27feaebf0bb7a1c906b733a0da2328b21330.tar.gz
tor-466e27feaebf0bb7a1c906b733a0da2328b21330.zip
simplify functions now that they don't use options param
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index aef17be299..bd106fd9a6 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -2469,10 +2469,8 @@ networkstatus_parse_flavor_name(const char *flavname)
* running, or otherwise not a descriptor that we would make any
* use of even if we had it. Else return 1. */
int
-client_would_use_router(const routerstatus_t *rs, time_t now,
- const or_options_t *options)
+client_would_use_router(const routerstatus_t *rs, time_t now)
{
- (void) options; /* unused */
if (!rs->is_flagged_running) {
/* If we had this router descriptor, we wouldn't even bother using it.
* (Fetching and storing depends on by we_want_to_fetch_flavor().) */