artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fa615f
)
Remove redundant assignment; ok millert@
author
miod
<miod@openbsd.org>
Fri, 17 Feb 2023 18:00:35 +0000
(18:00 +0000)
committer
miod
<miod@openbsd.org>
Fri, 17 Feb 2023 18:00:35 +0000
(18:00 +0000)
usr.bin/deroff/deroff.c
patch
|
blob
|
history
diff --git
a/usr.bin/deroff/deroff.c
b/usr.bin/deroff/deroff.c
index
290fb8a
..
452fda6
100644
(file)
--- a/
usr.bin/deroff/deroff.c
+++ b/
usr.bin/deroff/deroff.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: deroff.c,v 1.1
5 2016/09/04 15:29:21 tb Exp $
*/
+/* $OpenBSD: deroff.c,v 1.1
6 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++;