From 5360f0f3cd2624ca10ae0030d9067baba2fe397c Mon Sep 17 00:00:00 2001 From: tom Date: Wed, 22 Feb 2017 14:09:09 +0000 Subject: Remove unused-with-dead-store variable oldpsanl. From Daniel Cegielka - thanks ok jca@ --- usr.bin/sed/process.c | 4 +--- 1 file changed, 1 insertion(+), 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(); -- cgit v1.2.3-59-g8ed1b