Remove some unused argc assignments
authorMatt Caswell <matt@openssl.org>
Sat, 16 Apr 2016 11:18:19 +0000 (12:18 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 21 Apr 2016 09:51:57 +0000 (10:51 +0100)
Reviewed-by: Richard Levitte <levitte@openssl.org>
apps/enc.c
apps/errstr.c

index 1bdbf608c0813845e47c4835d48e2fdf1f1d5d0d..0286191bbccca2ac13e009dcba7b366ba9edec3a 100644 (file)
@@ -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);
index cd7f6c5e76eb4ec9ce5834cece7671c2bef46e80..81028ef0bc7a1b63ccfaa5d29e5a4a8a06d59a7f 100644 (file)
@@ -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++) {