diff options
author | Matt Caswell <matt@openssl.org> | 2016-04-21 10:01:19 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-04-21 10:51:57 +0100 |
commit | 5d94e5b65adc7d773068b8eb4b5525d35930f1ae (patch) | |
tree | 5766a38dd1d122ae565120490723cc5b040eb682 /apps/openssl.c | |
parent | 3ad4af89cf7380aa94d1995e05e713d59e1c469a (diff) | |
download | openssl-5d94e5b65adc7d773068b8eb4b5525d35930f1ae.tar.gz |
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>
Diffstat (limited to 'apps/openssl.c')
-rw-r--r-- | apps/openssl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/openssl.c b/apps/openssl.c index e594bd1d23..f2fb295fab 100644 --- a/apps/openssl.c +++ b/apps/openssl.c @@ -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; } |