diff options
author | trasz <trasz@FreeBSD.org> | 2011-01-06 08:33:48 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2011-01-06 08:33:48 +0000 |
commit | caf16f9aeaa2755210c8613683e0b453c3524aa0 (patch) | |
tree | 19982bbdc1972e82caf039d8d076e6b9563d7477 | |
parent | bbfe229093d6e05027627a73fb0b1eaf573457c3 (diff) | |
download | FreeBSD-src-caf16f9aeaa2755210c8613683e0b453c3524aa0.zip FreeBSD-src-caf16f9aeaa2755210c8613683e0b453c3524aa0.tar.gz |
Get rid of bad advice regarding /* NOTREACHED */. Compilers don't
really need it (one can use __dead2 instead), and style(9) was not
even consistent with itself in this regard.
-rw-r--r-- | share/man/man9/style.9 | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index a033f7c..7ceeb17 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -470,9 +470,6 @@ statement that cascade should have a .Li FALLTHROUGH comment. Numerical arguments should be checked for accuracy. -Code that cannot be reached should have a -.Li NOTREACHED -comment. .Bd -literal while ((ch = getopt(argc, argv, "abNn:")) != -1) switch (ch) { /* Indent the switch. */ @@ -496,7 +493,6 @@ comment. case '?': default: usage(); - /* NOTREACHED */ } argc -= optind; argv += optind; |