aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-03-25 17:36:23 +0200
committerRiccardo Spagni <ric@spagni.net>2017-03-25 17:36:23 +0200
commitb1313aefd8bb619d8818dd009f3c93ee01cb4c0e (patch)
treeadc54b221740b366182f2312954b909ee69bdcff /src
parentMerge pull request #1917 (diff)
parentSilence warning about possibly uninitialized pointer (diff)
downloadmonero-b1313aefd8bb619d8818dd009f3c93ee01cb4c0e.tar.xz
Merge pull request #1925v0.10.3
93b32892 Silence warning about possibly uninitialized pointer (Guillaume LE VAILLANT)
Diffstat (limited to 'src')
-rw-r--r--src/crypto/slow-hash.c2
1 files changed, 1 insertions, 1 deletions
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 *) =