Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jan 2011 08:34:12 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r217087 - head/share/man/man9
Message-ID:  <201101070834.p078YCeg044395@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101070834.p078YCeg044395>