[tor-commits] [tor/release-0.2.5] Fix windows warning introduced by 0808ed83f9cf312abe229

arma at torproject.org arma at torproject.org
Fri Aug 22 02:15:42 UTC 2014


commit b159ffb675a274b285acc55204eaf6e83cd72bf8
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Aug 18 10:19:05 2014 -0400

    Fix windows warning introduced by 0808ed83f9cf312abe229
    
    This will fix the warning
       "/src/or/config.c:6854:48: error: unused parameter 'group_readable'"
    that I introduced while fixing 12864.
    
    Bug not in any released version of Tor.
---
 src/or/config.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/or/config.c b/src/or/config.c
index f53186a..6bb6209 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -6871,6 +6871,8 @@ init_cookie_authentication(const char *fname, const char *header,
       log_warn(LD_FS,"Unable to make %s group-readable.", escaped(fname));
     }
   }
+#else
+  (void) group_readable;
 #endif
 
   /* Success! */





More information about the tor-commits mailing list