summaryrefslogtreecommitdiff
path: root/lsh512.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 /lsh512.cpp
parent5f19afa98611568438b9598e434dee7cca1eeeda (diff)
downloadcryptopp-git-dd2da99079facd6b388c31d79d941fccb3e0af01.tar.gz
Clear Clang warning
Diffstat (limited to 'lsh512.cpp')
-rw-r--r--lsh512.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lsh512.cpp b/lsh512.cpp
index 011bd95b..fdb0e17a 100644
--- a/lsh512.cpp
+++ b/lsh512.cpp
@@ -1190,7 +1190,7 @@ inline void init512(LSH512_Context* ctx)
CRYPTOPP_ASSERT(ctx != NULLPTR);
#if defined(CRYPTOPP_LSH512_AVX_AVAILABLE)
- AVX_Cleanup cleanup();
+ AVX_Cleanup cleanup;
#endif
zero_submsgs(ctx);
@@ -1258,7 +1258,7 @@ lsh_err lsh512_init(LSH512_Context* ctx)
CRYPTOPP_ASSERT(ctx->algtype != 0);
#if defined(CRYPTOPP_LSH512_AVX_AVAILABLE)
- AVX_Cleanup cleanup();
+ AVX_Cleanup cleanup;
#endif
lsh_u32 algtype = ctx->algtype;
@@ -1318,7 +1318,7 @@ lsh_err lsh512_update(LSH512_Context* ctx, const lsh_u8* data, size_t databitlen
}
#if defined(CRYPTOPP_LSH512_AVX_AVAILABLE)
- AVX_Cleanup cleanup();
+ AVX_Cleanup cleanup;
#endif
size_t databytelen = databitlen >> 3;
@@ -1398,7 +1398,7 @@ lsh_err lsh512_final(LSH512_Context* ctx, lsh_u8* hashval)
memset(ctx->last_block + remain_msg_byte + 1, 0, LSH512_MSG_BLK_BYTE_LEN - remain_msg_byte - 1);
#if defined(CRYPTOPP_LSH512_AVX_AVAILABLE)
- AVX_Cleanup cleanup();
+ AVX_Cleanup cleanup;
#endif
compress(ctx, ctx->last_block);