Module Name:    src
Committed By:   joerg
Date:           Tue May 24 12:19:11 UTC 2011

Modified Files:
        src/usr.bin/deroff: deroff.c

Log Message:
Kill self assignment


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/deroff/deroff.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/deroff/deroff.c
diff -u src/usr.bin/deroff/deroff.c:1.7 src/usr.bin/deroff/deroff.c:1.8
--- src/usr.bin/deroff/deroff.c:1.7	Fri Aug  7 14:05:58 2009
+++ src/usr.bin/deroff/deroff.c	Tue May 24 12:19:11 2011
@@ -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 @@
 #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 @@
 		 */
 		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++;

Reply via email to