mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Remove some unneccessary assignments to argc
openssl.c and ts.c assign the value of opt_num_rest() to argc, but then only use the value once. Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
3ad4af89cf
commit
5d94e5b65a
@ -491,9 +491,8 @@ int help_main(int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
argc = opt_num_rest();
|
||||
|
||||
if (argc != 0) {
|
||||
if (opt_num_rest() != 0) {
|
||||
BIO_printf(bio_err, "Usage: %s\n", prog);
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user