diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-02-01 17:03:00 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-02-01 17:03:00 -0500 |
commit | 996db755c237227a5df279b94acfa12aad9cce55 (patch) | |
tree | 55bdbf66da9024c617b72da9c478891274c671b8 /src/or/circuitbuild.c | |
parent | fed7f013773365dee2c7858c29380a2f92032031 (diff) | |
download | tor-996db755c237227a5df279b94acfa12aad9cce55.tar.gz tor-996db755c237227a5df279b94acfa12aad9cce55.zip |
Fix a couple of warnings on the 8081 branch.
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index 91f70779c4..5a5a3afea7 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -1194,6 +1194,7 @@ pathbias_get_scale_ratio(const or_options_t *options) */ int denominator = networkstatus_get_param(NULL, "pb_scalefactor", 2, 2, INT32_MAX); + (void) options; /** * The mult factor is the numerator for our scaling * of circuit counts for our path bias window. It @@ -2458,7 +2459,7 @@ pathbias_measure_close_rate(entry_guard_t *guard) * better by keeping separate pending counters that get * transfered at circuit close. */ -void +static void pathbias_scale_close_rates(entry_guard_t *guard) { const or_options_t *options = get_options(); |