[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit b159ffb675a274b285acc55204eaf6e83cd72bf8
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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! */



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits