summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2020-10-14 07:20:10 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2020-10-14 07:20:10 +0000
commit0aad8dd4535d7df77a41d690227150f62b3b3e62 (patch)
tree5bcf4bfbfb7bc2d9db29cb9e5dfcd6349026e540
parent0e87f767ff08224185d6ca93217941f21743b0cc (diff)
no need to initialize i if it's re-initialized a few lines down
-rw-r--r--usr.bin/openssl/apps.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/openssl/apps.c b/usr.bin/openssl/apps.c
index 2c2f1284848..e1dcd48b37a 100644
--- a/usr.bin/openssl/apps.c
+++ b/usr.bin/openssl/apps.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apps.c,v 1.55 2020/09/09 12:47:46 inoguchi Exp $ */
+/* $OpenBSD: apps.c,v 1.56 2020/10/14 07:20:09 tb Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
@@ -216,7 +216,6 @@ chopup_args(ARGS *arg, char *buf, int *argc, char **argv[])
*argc = 0;
*argv = NULL;
- i = 0;
if (arg->count == 0) {
arg->count = 20;
arg->data = reallocarray(NULL, arg->count, sizeof(char *));