summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordcoppa <dcoppa@openbsd.org>2016-09-07 04:42:31 +0000
committerdcoppa <dcoppa@openbsd.org>2016-09-07 04:42:31 +0000
commit29b51a1356e70972fa79e48a8f4f874c40180225 (patch)
tree56f00b3a3800f2ea0062dc814968a81501cf69de
parentMake sure attributes are applied to function declarations before they're (diff)
downloadwireguard-openbsd-29b51a1356e70972fa79e48a8f4f874c40180225.tar.xz
wireguard-openbsd-29b51a1356e70972fa79e48a8f4f874c40180225.zip
remove unused variable 'last'
ok nicm@
-rw-r--r--bin/ksh/edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ksh/edit.c b/bin/ksh/edit.c
index 1f5b69e8095..5b802f2b973 100644
--- a/bin/ksh/edit.c
+++ b/bin/ksh/edit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: edit.c,v 1.55 2016/09/04 17:21:44 nicm Exp $ */
+/* $OpenBSD: edit.c,v 1.56 2016/09/07 04:42:31 dcoppa Exp $ */
/*
* Command line editing - common code
@@ -583,7 +583,7 @@ static int
x_try_array(const char *buf, int buflen, const char *want, int wantlen,
int *nwords, char ***words)
{
- const char *cmd, *cp, *last;
+ const char *cmd, *cp;
int cmdlen, n;
char *name, *s;
size_t slen;