]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix windows warning introduced by 0808ed83f9cf312abe229
authorNick Mathewson <nickm@torproject.org>
Mon, 18 Aug 2014 14:19:05 +0000 (10:19 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 18 Aug 2014 14:19:05 +0000 (10:19 -0400)
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

index f53186a5f9e0c7abfbb2949cd61cedd1a1208537..6bb620937a1b973c3f67ae3569df4389afe7718e 100644 (file)
@@ -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! */