From 93b32892f72ecb77f5d9daa2fbb9d0cc6e53abc4 Mon Sep 17 00:00:00 2001 From: Guillaume LE VAILLANT Date: Sat, 25 Mar 2017 13:47:31 +0100 Subject: Silence warning about possibly uninitialized pointer --- src/crypto/slow-hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/slow-hash.c b/src/crypto/slow-hash.c index dca58195b..117f158ee 100644 --- a/src/crypto/slow-hash.c +++ b/src/crypto/slow-hash.c @@ -530,7 +530,7 @@ void cn_slow_hash(const void *data, size_t length, char *hash) size_t i, j; uint64_t *p = NULL; - oaes_ctx *aes_ctx; + oaes_ctx *aes_ctx = NULL; int useAes = !force_software_aes() && check_aes_hw(); static void (*const extra_hashes[4])(const void *, size_t, char *) = -- cgit v1.2.3