summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortom <tom@openbsd.org>2017-02-22 14:09:09 +0000
committertom <tom@openbsd.org>2017-02-22 14:09:09 +0000
commit5360f0f3cd2624ca10ae0030d9067baba2fe397c (patch)
treeae6f8f8d44b2d16cb877fffd04ae8f8303811eea
parentAdd missing htonl for IPsec SPI. (diff)
downloadwireguard-openbsd-5360f0f3cd2624ca10ae0030d9067baba2fe397c.tar.xz
wireguard-openbsd-5360f0f3cd2624ca10ae0030d9067baba2fe397c.zip
Remove unused-with-dead-store variable oldpsanl.
From Daniel Cegielka - thanks ok jca@
-rw-r--r--usr.bin/sed/process.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/sed/process.c b/usr.bin/sed/process.c
index e63896d5804..d8192aa01e0 100644
--- a/usr.bin/sed/process.c
+++ b/usr.bin/sed/process.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: process.c,v 1.31 2017/01/21 10:05:23 krw Exp $ */
+/* $OpenBSD: process.c,v 1.32 2017/02/22 14:09:09 tom Exp $ */
/*-
* Copyright (c) 1992 Diomidis Spinellis.
@@ -89,7 +89,6 @@ process(void)
SPACE tspace;
size_t len, oldpsl;
char *p;
- int oldpsanl;
for (linenum = 0; mf_fgets(&PS, REPLACE);) {
pd = 0;
@@ -185,7 +184,6 @@ redirect:
break;
if ((p = memchr(ps, '\n', psl)) != NULL) {
oldpsl = psl;
- oldpsanl = psanl;
psl = p - ps;
psanl = 1;
OUT();