From 77739ec9460d0870eb62e3f9e30d3c16f6727f66 Mon Sep 17 00:00:00 2001 From: jsteube Date: Wed, 9 Jan 2019 10:02:03 +0100 Subject: [PATCH] Remove unused variable --- src/shared.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/shared.c b/src/shared.c index c9fd6776b..1a531fdba 100644 --- a/src/shared.c +++ b/src/shared.c @@ -1024,8 +1024,7 @@ void decoder_apply_optimizer (const hashconfig_t *hashconfig, void *data) const u32 hash_type = hashconfig->hash_type; const u32 opti_type = hashconfig->opti_type; - u32 *digest_buf = (u32 *) data; - u64 *digest_buf64 = (u64 *) data; + u32 *digest_buf = (u32 *) data; if (opti_type & OPTI_TYPE_PRECOMPUTE_PERMUT) { @@ -1148,8 +1147,7 @@ void encoder_apply_optimizer (const hashconfig_t *hashconfig, void *data) const u32 hash_type = hashconfig->hash_type; const u32 opti_type = hashconfig->opti_type; - u32 *digest_buf = (u32 *) data; - u64 *digest_buf64 = (u64 *) data; + u32 *digest_buf = (u32 *) data; if (opti_type & OPTI_TYPE_PRECOMPUTE_PERMUT) {