summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2020-10-14 07:20:09 +0000
committertb <tb@openbsd.org>2020-10-14 07:20:09 +0000
commit68514bc5d4a5233a26ff651fef29a37bbe5b7fc7 (patch)
tree8722a2817ff98cfa575703ddb4c46f3065ca198c
parentAdd an interrupt barrier in bnxt_down() and check if the interface is (diff)
downloadwireguard-openbsd-68514bc5d4a5233a26ff651fef29a37bbe5b7fc7.tar.xz
wireguard-openbsd-68514bc5d4a5233a26ff651fef29a37bbe5b7fc7.zip
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 *));