]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix a couple of warnings on the 8081 branch.
authorNick Mathewson <nickm@torproject.org>
Fri, 1 Feb 2013 22:03:00 +0000 (17:03 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 1 Feb 2013 22:03:00 +0000 (17:03 -0500)
src/or/circuitbuild.c

index 91f70779c44a2ef0b3dd70e68f507f303ec280dd..5a5a3afea74c8712d198f48434e804482c4c8e1e 100644 (file)
@@ -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();