summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2020-10-14 07:20:09 +0000
committertb <>2020-10-14 07:20:09 +0000
commitf7868ddf3ad814ba5bda3b57799654f9938281be (patch)
tree78ccd73c0e09647fed3435637eaebdfcf7576606
parentd154fef5aaae9e4439a80ee0b1a6355e3311eb97 (diff)
downloadopenbsd-f7868ddf3ad814ba5bda3b57799654f9938281be.tar.gz
openbsd-f7868ddf3ad814ba5bda3b57799654f9938281be.tar.bz2
openbsd-f7868ddf3ad814ba5bda3b57799654f9938281be.zip
no need to initialize i if it's re-initialized a few lines down
-rw-r--r--src/usr.bin/openssl/apps.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/apps.c b/src/usr.bin/openssl/apps.c
index 2c2f128484..e1dcd48b37 100644
--- a/src/usr.bin/openssl/apps.c
+++ b/src/usr.bin/openssl/apps.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: apps.c,v 1.55 2020/09/09 12:47:46 inoguchi Exp $ */ 1/* $OpenBSD: apps.c,v 1.56 2020/10/14 07:20:09 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -216,7 +216,6 @@ chopup_args(ARGS *arg, char *buf, int *argc, char **argv[])
216 *argc = 0; 216 *argc = 0;
217 *argv = NULL; 217 *argv = NULL;
218 218
219 i = 0;
220 if (arg->count == 0) { 219 if (arg->count == 0) {
221 arg->count = 20; 220 arg->count = 20;
222 arg->data = reallocarray(NULL, arg->count, sizeof(char *)); 221 arg->data = reallocarray(NULL, arg->count, sizeof(char *));