Remove unnecessary argc assign

Found by Linux Verification Center (linuxtesting.org) with SVACE.

CLA:trivial

Reviewed-by: Norbert Pocs <norbertp@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
MergeDate: Thu Jan  8 10:03:55 2026
(Merged from https://github.com/openssl/openssl/pull/29457)
This commit is contained in:
JohnnySavages
2025-12-18 23:50:54 -05:00
committed by Tomas Mraz
parent bfb103387c
commit c8bae42190
2 changed files with 0 additions and 2 deletions

View File

@@ -196,7 +196,6 @@ int passwd_main(int argc, char **argv)
}
/* All remaining arguments are the password text */
argc = opt_num_rest();
argv = opt_rest();
if (*argv != NULL) {
if (pw_source_defined)

View File

@@ -550,7 +550,6 @@ int rehash_main(int argc, char **argv)
}
/* Optional arguments are directories to scan. */
argc = opt_num_rest();
argv = opt_rest();
evpmd = EVP_sha1();