From fe61813af46fe7c867536488dcddd84d26ca3893 Mon Sep 17 00:00:00 2001 From: Sein Coray Date: Tue, 14 May 2019 10:34:22 +0200 Subject: [PATCH] remove unused digest variable --- src/modules/module_17210.c | 2 -- src/modules/module_17230.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/modules/module_17210.c b/src/modules/module_17210.c index eae85153f..64f235991 100644 --- a/src/modules/module_17210.c +++ b/src/modules/module_17210.c @@ -293,8 +293,6 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE int module_hash_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const void *digest_buf, MAYBE_UNUSED const salt_t *salt, MAYBE_UNUSED const void *esalt_buf, MAYBE_UNUSED const void *hook_salt_buf, MAYBE_UNUSED const hashinfo_t *hash_info, char *line_buf, MAYBE_UNUSED const int line_size) { - const u32 *digest = (const u32 *) digest_buf; - const pkzip_t *pkzip = (const pkzip_t *) esalt_buf; int out_len = 0; diff --git a/src/modules/module_17230.c b/src/modules/module_17230.c index 1861cae65..d9f3ebbfd 100644 --- a/src/modules/module_17230.c +++ b/src/modules/module_17230.c @@ -291,8 +291,6 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE int module_hash_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const void *digest_buf, MAYBE_UNUSED const salt_t *salt, MAYBE_UNUSED const void *esalt_buf, MAYBE_UNUSED const void *hook_salt_buf, MAYBE_UNUSED const hashinfo_t *hash_info, char *line_buf, MAYBE_UNUSED const int line_size) { - const u32 *digest = (const u32 *) digest_buf; - const pkzip_t *pkzip = (const pkzip_t *) esalt_buf; int out_len = 0;