Restore comment describing /* NOTREACHED */, updated to match reality.

This commit is contained in:
Edward Tomasz Napierala 2011-01-07 08:34:12 +00:00
parent fd05807822
commit 102f2f352f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=217087

View File

@ -26,7 +26,7 @@
.\" From: @(#)style 1.14 (Berkeley) 4/28/95 .\" From: @(#)style 1.14 (Berkeley) 4/28/95
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd December 17, 2008 .Dd January 7, 2010
.Dt STYLE 9 .Dt STYLE 9
.Os .Os
.Sh NAME .Sh NAME
@ -470,6 +470,9 @@ statement that cascade should have a
.Li FALLTHROUGH .Li FALLTHROUGH
comment. comment.
Numerical arguments should be checked for accuracy. Numerical arguments should be checked for accuracy.
Code which is unreachable for non-obvious reasons may be marked /*
.Li NOTREACHED
*/.
.Bd -literal .Bd -literal
while ((ch = getopt(argc, argv, "abNn:")) != -1) while ((ch = getopt(argc, argv, "abNn:")) != -1)
switch (ch) { /* Indent the switch. */ switch (ch) { /* Indent the switch. */