summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2011-01-07 08:34:12 +0000
committertrasz <trasz@FreeBSD.org>2011-01-07 08:34:12 +0000
commit5b6a140b26b988ce0197a3f0afc7f41b9779cdd2 (patch)
tree8c994db35e3b68b4dc686b2ef1e7cae16531d81f /share
parent59c5693c6f3965052f235480bc07a20e6533d88e (diff)
downloadFreeBSD-src-5b6a140b26b988ce0197a3f0afc7f41b9779cdd2.zip
FreeBSD-src-5b6a140b26b988ce0197a3f0afc7f41b9779cdd2.tar.gz
Restore comment describing /* NOTREACHED */, updated to match reality.
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/style.95
1 files changed, 4 insertions, 1 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9
index 7ceeb17..ed65ac6 100644
--- a/share/man/man9/style.9
+++ b/share/man/man9/style.9
@@ -26,7 +26,7 @@
.\" From: @(#)style 1.14 (Berkeley) 4/28/95
.\" $FreeBSD$
.\"
-.Dd December 17, 2008
+.Dd January 7, 2010
.Dt STYLE 9
.Os
.Sh NAME
@@ -470,6 +470,9 @@ statement that cascade should have a
.Li FALLTHROUGH
comment.
Numerical arguments should be checked for accuracy.
+Code which is unreachable for non-obvious reasons may be marked /*
+.Li NOTREACHED
+*/.
.Bd -literal
while ((ch = getopt(argc, argv, "abNn:")) != -1)
switch (ch) { /* Indent the switch. */
OpenPOWER on IntegriCloud