diff options
| author | 2016-10-16 13:03:40 +0000 | |
|---|---|---|
| committer | 2016-10-16 13:03:40 +0000 | |
| commit | bd1f19946165c11b292eb6916f7c95ca4bd8758d (patch) | |
| tree | 3b95630438daf79f54160c383d78f45f84b910ef /usr.bin/cvs/diff3.c | |
| parent | Zap unused variable. (diff) | |
| download | wireguard-openbsd-bd1f19946165c11b292eb6916f7c95ca4bd8758d.tar.xz wireguard-openbsd-bd1f19946165c11b292eb6916f7c95ca4bd8758d.zip | |
Remove useless n=n assignment in the first parse of a for().
It was already removed from the rcs version by nicm@.
Diffstat (limited to 'usr.bin/cvs/diff3.c')
| -rw-r--r-- | usr.bin/cvs/diff3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/diff3.c b/usr.bin/cvs/diff3.c index 9c1d202812a..ae5f1fd05c3 100644 --- a/usr.bin/cvs/diff3.c +++ b/usr.bin/cvs/diff3.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diff3.c,v 1.60 2016/10/15 22:20:17 millert Exp $ */ +/* $OpenBSD: diff3.c,v 1.61 2016/10/16 13:03:40 millert Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. @@ -786,7 +786,7 @@ edscript(int n) int j, k; char block[BUFSIZ+1]; - for (n = n; n > 0; n--) { + for (; n > 0; n--) { if (!oflag || !overlap[n]) prange(&de[n].old); else |
