diff options
author | Jeffrey Walton <noloader@gmail.com> | 2021-04-20 00:20:16 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2021-04-20 00:20:16 -0400 |
commit | dd2da99079facd6b388c31d79d941fccb3e0af01 (patch) | |
tree | dfc99764e48dc6f29b05f3805cc2c70b48a0ff10 /lsh256.cpp | |
parent | 5f19afa98611568438b9598e434dee7cca1eeeda (diff) | |
download | cryptopp-git-dd2da99079facd6b388c31d79d941fccb3e0af01.tar.gz |
Clear Clang warning
Diffstat (limited to 'lsh256.cpp')
-rw-r--r-- | lsh256.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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);
|