summaryrefslogtreecommitdiff
path: root/lsh256.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-04-20 00:20:16 -0400
committerJeffrey Walton <noloader@gmail.com>2021-04-20 00:20:16 -0400
commitdd2da99079facd6b388c31d79d941fccb3e0af01 (patch)
treedfc99764e48dc6f29b05f3805cc2c70b48a0ff10 /lsh256.cpp
parent5f19afa98611568438b9598e434dee7cca1eeeda (diff)
downloadcryptopp-git-dd2da99079facd6b388c31d79d941fccb3e0af01.tar.gz
Clear Clang warning
Diffstat (limited to 'lsh256.cpp')
-rw-r--r--lsh256.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lsh256.cpp b/lsh256.cpp
index 49216af1..91306a04 100644
--- a/lsh256.cpp
+++ b/lsh256.cpp
@@ -953,7 +953,7 @@ lsh_err lsh256_init(LSH256_Context* ctx)
CRYPTOPP_ASSERT(ctx->algtype != 0);
#if defined(CRYPTOPP_LSH256_AVX_AVAILABLE)
- AVX_Cleanup cleanup();
+ AVX_Cleanup cleanup;
#endif
lsh_u32 algtype = ctx->algtype;
@@ -1009,7 +1009,7 @@ lsh_err lsh256_update(LSH256_Context* ctx, const lsh_u8* data, size_t databitlen
}
#if defined(CRYPTOPP_LSH256_AVX_AVAILABLE)
- AVX_Cleanup cleanup();
+ AVX_Cleanup cleanup;
#endif
size_t databytelen = databitlen >> 3;
@@ -1091,7 +1091,7 @@ lsh_err lsh256_final(LSH256_Context* ctx, lsh_u8* hashval)
memset(ctx->last_block + remain_msg_byte + 1, 0, LSH256_MSG_BLK_BYTE_LEN - remain_msg_byte - 1);
#if defined(CRYPTOPP_LSH256_AVX_AVAILABLE)
- AVX_Cleanup cleanup();
+ AVX_Cleanup cleanup;
#endif
compress(ctx, ctx->last_block);