From 95ca2293fd8d79731e4f799d9dc033cdb216f841 Mon Sep 17 00:00:00 2001 From: miod Date: Fri, 17 Feb 2023 18:00:35 +0000 Subject: [PATCH] Remove redundant assignment; ok millert@ --- usr.bin/deroff/deroff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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++; -- 2.20.1