[tor-commits] [tor/master] mark a variable unused.
nickm at torproject.org
nickm at torproject.org
Tue Dec 8 22:17:21 UTC 2015
commit 0df014edada01d6aac0ef9b7277c6cea7d72f45d
Author: Nick Mathewson <nickm at torproject.org>
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. */
More information about the tor-commits
mailing list