]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
mark a variable unused.
authorNick Mathewson <nickm@torproject.org>
Tue, 8 Dec 2015 22:17:17 +0000 (17:17 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 8 Dec 2015 22:17:17 +0000 (17:17 -0500)
src/common/crypto.c

index c0e118c99a31bce41985f8a69a3f2b9b1f1845c7..34e94b53a8fb63ac208ac210af05277299d6e5c2 100644 (file)
@@ -2426,6 +2426,8 @@ crypto_strongest_rand_syscall(uint8_t *out, size_t out_len)
    * the only gotcha is that requests are limited to 256 bytes.
    */
   return getentropy(out, out_len);
+#else
+  (void) out;
 #endif
 
   /* This platform doesn't have a supported syscall based random. */