svn commit: r217087 - head/share/man/man9
Edward Tomasz Napierala
trasz at FreeBSD.org
Fri Jan 7 08:34:12 UTC 2011
Author: trasz
Date: Fri Jan 7 08:34:12 2011
New Revision: 217087
URL: http://svn.freebsd.org/changeset/base/217087
Log:
Restore comment describing /* NOTREACHED */, updated to match reality.
Modified:
head/share/man/man9/style.9
Modified: head/share/man/man9/style.9
==============================================================================
--- head/share/man/man9/style.9 Fri Jan 7 01:50:25 2011 (r217086)
+++ head/share/man/man9/style.9 Fri Jan 7 08:34:12 2011 (r217087)
@@ -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. */
More information about the svn-src-head
mailing list