[tor-commits] [tor/release-0.3.0] resolve now-unused parameter from #21642 fix

arma at torproject.org arma at torproject.org
Wed May 10 21:36:23 UTC 2017


commit 716d48581de72e5773c15802df5ca66b5f7365e5
Author: Roger Dingledine <arma at torproject.org>
Date:   Wed May 10 17:35:36 2017 -0400

    resolve now-unused parameter from #21642 fix
---
 src/or/networkstatus.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index 26c388c..1fd0772 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -2444,6 +2444,7 @@ int
 client_would_use_router(const routerstatus_t *rs, time_t now,
                         const or_options_t *options)
 {
+  (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().) */





More information about the tor-commits mailing list