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

[tor-commits] [tor/master] mark a variable unused.



commit 0df014edada01d6aac0ef9b7277c6cea7d72f45d
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Tue Dec 8 17:17:17 2015 -0500

    mark a variable unused.
---
 src/common/crypto.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/common/crypto.c b/src/common/crypto.c
index c0e118c..34e94b5 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -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. */

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