diff --git a/coreutils/md5_sha1_sum.c b/coreutils/md5_sha1_sum.c index 064340f25..287c2f524 100644 --- a/coreutils/md5_sha1_sum.c +++ b/coreutils/md5_sha1_sum.c @@ -142,15 +142,6 @@ static int hash_files(int argc, char **argv, const uint8_t hash_algo) } else #endif { - uint8_t hash_length; - - if (hash_algo == HASH_MD5) { - hash_length = 16; - } else { - hash_length = 20; - } - hash_value = xmalloc(hash_length); - while (optind < argc) { char *file_ptr = argv[optind++];