diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-11-11 11:20:48 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-11-11 11:20:48 +0000 |
commit | e3e838d0cfa524f9b4dc90d3a356d5ce26515ddc (patch) | |
tree | 8d1e499d6fedf6f4802a9005d16d0a4fc3520b11 /tests | |
parent | keccak: some paranoid "can't happen" checks (diff) | |
download | monero-e3e838d0cfa524f9b4dc90d3a356d5ce26515ddc.tar.xz |
kaccak: remove unused return value
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit_tests/crypto.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/unit_tests/crypto.cpp b/tests/unit_tests/crypto.cpp index 51e26c2bb..d9a7b8ad5 100644 --- a/tests/unit_tests/crypto.cpp +++ b/tests/unit_tests/crypto.cpp @@ -74,16 +74,12 @@ namespace { size_t inlen = sizeof(source); int mdlen = (int)sizeof(md); - int ret = keccak(source, inlen, md, mdlen); + keccak(source, inlen, md, mdlen); if (md[0] != 0x00) { return true; } - else if (!ret) - { - return true; - } else { return false; |