aboutsummaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2011-01-07 08:34:12 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2011-01-07 08:34:12 +0000
commit102f2f352f25fd58af150eb9f0881ff9c18e93ab (patch)
tree8c994db35e3b68b4dc686b2ef1e7cae16531d81f /share/man
parentfd05807822747642daef436c4755f306c5d5fd83 (diff)
downloadsrc-102f2f352f25fd58af150eb9f0881ff9c18e93ab.tar.gz
src-102f2f352f25fd58af150eb9f0881ff9c18e93ab.zip
Restore comment describing /* NOTREACHED */, updated to match reality.
Notes
Notes: svn path=/head/; revision=217087
Diffstat (limited to 'share/man')
-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 7ceeb173faf5..ed65ac67b0ad 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. */