From: Matt Caswell Date: Sat, 16 Apr 2016 11:18:19 +0000 (+0100) Subject: Remove some unused argc assignments X-Git-Tag: OpenSSL_1_1_0-pre6~1088 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3ad4af89cf7380aa94d1995e05e713d59e1c469a;p=oweals%2Fopenssl.git Remove some unused argc assignments Reviewed-by: Richard Levitte --- diff --git a/apps/enc.c b/apps/enc.c index 1bdbf608c0..0286191bbc 100644 --- a/apps/enc.c +++ b/apps/enc.c @@ -291,7 +291,6 @@ int enc_main(int argc, char **argv) break; } } - argc = opt_num_rest(); if (cipher && EVP_CIPHER_flags(cipher) & EVP_CIPH_FLAG_AEAD_CIPHER) { BIO_printf(bio_err, "%s: AEAD ciphers not supported\n", prog); diff --git a/apps/errstr.c b/apps/errstr.c index cd7f6c5e76..81028ef0bc 100644 --- a/apps/errstr.c +++ b/apps/errstr.c @@ -106,7 +106,6 @@ int errstr_main(int argc, char **argv) goto end; } } - argc = opt_num_rest(); ret = 0; for (argv = opt_rest(); *argv; argv++) {