From b794a0de4d7f6f687fc922a5a593346768c318aa Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 24 May 2011 12:19:11 +0000 Subject: [PATCH] Kill self assignment --- usr.bin/deroff/deroff.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/deroff/deroff.c b/usr.bin/deroff/deroff.c index 43d74cc7987f..a4ec19b88135 100644 --- a/usr.bin/deroff/deroff.c +++ b/usr.bin/deroff/deroff.c @@ -1,4 +1,4 @@ -/* $NetBSD: deroff.c,v 1.7 2009/08/07 14:05:58 wiz Exp $ */ +/* $NetBSD: deroff.c,v 1.8 2011/05/24 12:19:11 joerg Exp $ */ /* taken from: OpenBSD: deroff.c,v 1.6 2004/06/02 14:58:46 tom Exp */ @@ -74,7 +74,7 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)deroff.c 8.1 (Berkeley) 6/6/93"; #else -static const char rcsid[] = "$NetBSD: deroff.c,v 1.7 2009/08/07 14:05:58 wiz Exp $"; +static const char rcsid[] = "$NetBSD: deroff.c,v 1.8 2011/05/24 12:19:11 joerg Exp $"; #endif #endif /* not lint */ @@ -998,7 +998,7 @@ meputmac(char *cp, int constant) */ if (((np - cp) > constant) && (inquote || (chars[(unsigned char)cp[0]] == LETTER))) { - for (cp = cp; cp < np; cp++) + for (; cp < np; cp++) putchar(*cp); last = np[-1]; found++;