From 1f88ae42effb77f27865d7de9a8df5a551d324e6 Mon Sep 17 00:00:00 2001 From: philsmd Date: Tue, 14 Feb 2017 21:09:04 +0100 Subject: [PATCH] dead code: hash_len is always > 0 at this location --- src/hashes.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/hashes.c b/src/hashes.c index 1b9eb0edc..1660d9876 100644 --- a/src/hashes.c +++ b/src/hashes.c @@ -725,13 +725,6 @@ int hashes_init_stage1 (hashcat_ctx_t *hashcat_ctx) if (hashconfig->hash_mode == 2500) { - if (hash_len == 0) - { - event_log_error (hashcat_ctx, "hccapx file not specified"); - - return -1; - } - hashlist_mode = HL_MODE_FILE; hashes->hashlist_mode = hashlist_mode;