From: Jouni Malinen Date: Tue, 14 Dec 2010 15:10:39 +0000 (+0200) Subject: Removed unused variable from non-Linux builds X-Git-Tag: hostap-1-bp~698 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b993e77b5b9c3f2c6a42aa76e0d5a0ef0cf34f54;p=thirdparty%2Fhostap.git Removed unused variable from non-Linux builds --- diff --git a/src/crypto/random.c b/src/crypto/random.c index ab8e882e1..64180a13a 100644 --- a/src/crypto/random.c +++ b/src/crypto/random.c @@ -51,7 +51,9 @@ static u32 pool[POOL_WORDS]; static unsigned int input_rotate = 0; static unsigned int pool_pos = 0; static u8 dummy_key[20]; +#ifdef __linux__ static size_t dummy_key_avail = 0; +#endif /* __linux__ */ static unsigned int own_pool_ready = 0; #define MIN_COLLECT_ENTROPY 1000