aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorNeil Horman <[email protected]>2026-09-10 19:49:36 +0200
committerNeil Horman <[email protected]>2026-09-12 15:18:09 +0200
commit1caa35f4fbf8a968a33df8eccf1675a908889415 (patch)
tree45eec9de6ee470c52e1b701366ee2f5d7a5c6a4f /apps
parentuse BUF_MEM_free instead of OPENSSL_free to free BUF_MEM in str_copy (diff)
downloadopenssl-1caa35f4fbf8a968a33df8eccf1675a908889415.tar.gz
openssl-1caa35f4fbf8a968a33df8eccf1675a908889415.zip
Fix set but unsued variable in lib/opt.c
https://github.com/openssl/openssl/actions/runs/34494520852/job/102982686286 CI is failing because we have a varaible in opt.c that is set but never used. Just remove it. Reviewed-by: Andrew Dinh <[email protected]> Reviewed-by: Frederik Wedel-Heinen <[email protected]> MergeDate: Sat Sep 12 13:18:16 2026 (Merged from https://github.com/openssl/openssl/pull/32787)
Diffstat (limited to 'apps')
-rw-r--r--apps/lib/opt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/lib/opt.c b/apps/lib/opt.c
index dbac48668ad..f28eeaa4f0b 100644
--- a/apps/lib/opt.c
+++ b/apps/lib/opt.c
@@ -37,7 +37,6 @@ const char OPT_PARAM_STR[] = "-P";
/* Our state */
static char **argv;
-static int argc;
static int opt_index;
static char *arg;
static char *flag;
@@ -162,7 +161,6 @@ char *opt_getprog(void)
char *opt_init(int ac, char **av, const OPTIONS *o)
{
/* Store state. */
- argc = ac;
argv = av;
opt_begin();
opts = o;