mirror of
https://github.com/openssl/openssl.git
synced 2026-01-25 02:56:43 +00:00
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:
committed by
Tomas Mraz
parent
bfb103387c
commit
c8bae42190
@@ -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)
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user