diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-12-21 15:41:27 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-12-21 15:41:27 +0000 |
commit | d5d7ed360ed1f1fcf80d958ec949583c2b2cd90c (patch) | |
tree | 76632eec599ee3e6a005476863fe5f870113ef71 | |
parent | 6b567c1ec31707bd6577dc50448bf4772f7d40ed (diff) |
Revert the previous commit: it made sense for human consumption, but lint(1)
and other code checkers don't like this special case. Pointed out by espie@
and michaels@inet.no.
-rw-r--r-- | share/man/man9/style.9 | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index 8426ed41e02..a6620016f1c 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: style.9,v 1.10 2000/12/20 21:09:07 aaron Exp $ +.\" $OpenBSD: style.9,v 1.11 2000/12/21 15:41:26 aaron Exp $ .\" .Dd August 19, 1999 .Dt STYLE 9 @@ -262,10 +262,7 @@ call and the switch statement, unless parts of the switch cascade. Elements in a switch statement that cascade should have a FALLTHROUGH comment. Numerical arguments should be checked for accuracy. -Code that cannot be reached should have a NOTREACHED comment, except following, -i.e., an -.Xr exit 3 -call, where it is obvious. +Code that cannot be reached should have a NOTREACHED comment, .Bd -literal -offset 0i while ((ch = getopt(argc, argv, "abn")) != -1) switch (ch) { /* Indent the switch. */ |