From: miod Date: Fri, 17 Feb 2023 18:00:35 +0000 (+0000) Subject: Remove redundant assignment; ok millert@ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=95ca2293fd8d79731e4f799d9dc033cdb216f841;p=openbsd Remove redundant assignment; ok millert@ --- diff --git a/usr.bin/deroff/deroff.c b/usr.bin/deroff/deroff.c index 290fb8af073..452fda69b30 100644 --- a/usr.bin/deroff/deroff.c +++ b/usr.bin/deroff/deroff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: deroff.c,v 1.15 2016/09/04 15:29:21 tb Exp $ */ +/* $OpenBSD: deroff.c,v 1.16 2023/02/17 18:00:35 miod Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -984,7 +984,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++;