]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
apps/cms.c: Cleanup for dead assignment to argc
authorAlex Prabhat Bara <50404684+alexprabhat99@users.noreply.github.com>
Fri, 27 Dec 2024 06:37:11 +0000 (12:07 +0530)
committerTomas Mraz <tomas@openssl.org>
Thu, 23 Jan 2025 10:21:12 +0000 (11:21 +0100)
CLA: trivial

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26273)

apps/cms.c

index 539812ebb999464c15aaa20dcaba514705c83e4d..8428723a3936a1be335c25f4acce374ecc5f8e6b 100644 (file)
@@ -730,7 +730,6 @@ int cms_main(int argc, char **argv)
     }
 
     /* Remaining args are files to process. */
-    argc = opt_num_rest();
     argv = opt_rest();
 
     if ((rr_allorfirst != -1 || rr_from != NULL) && rr_to == NULL) {