From 3ad4af89cf7380aa94d1995e05e713d59e1c469a Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Sat, 16 Apr 2016 12:18:19 +0100 Subject: [PATCH] Remove some unused argc assignments Reviewed-by: Richard Levitte --- apps/enc.c | 1 - apps/errstr.c | 1 - 2 files changed, 2 deletions(-) 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++) { -- 2.25.1