diff options
author | Brian Callahan <bcallah@cvs.openbsd.org> | 2014-03-31 14:26:04 +0000 |
---|---|---|
committer | Brian Callahan <bcallah@cvs.openbsd.org> | 2014-03-31 14:26:04 +0000 |
commit | ddb37510b54ab341259f57dd831e1c36c960f729 (patch) | |
tree | a34b2de0495c183228198623babfa61fa8f9fb8e /usr.bin | |
parent | 5e1a2e0e917b59b53b3b5c51b69f921015b1f222 (diff) |
Remove a redundant assignment for slashp in findnonblank().
Remove a redundant comment in the same place while here.
Tweaks from lum@
ok florian@ lum@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mg/cmode.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/mg/cmode.c b/usr.bin/mg/cmode.c index 674d89d6e77..00a32b9c321 100644 --- a/usr.bin/mg/cmode.c +++ b/usr.bin/mg/cmode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmode.c,v 1.8 2012/05/18 02:13:44 lum Exp $ */ +/* $OpenBSD: cmode.c,v 1.9 2014/03/31 14:26:03 bcallah Exp $ */ /* * This file is in the public domain. * @@ -463,8 +463,6 @@ findnonblank(struct line *lp) * comments. If one is found, ignore it and * test for nonblankness from where it starts. */ - slashp = FALSE; - /* Scan backwards from end to find C-style comment */ for (lo = llength(lp) - 1; lo >= 0; lo--) { if (!isspace(c = lgetc(lp, lo))) { if (commentp) { /* find comment "open" */ |