svn commit: r290303 - stable/10/usr.sbin/sysrc
Devin Teske
dteske at FreeBSD.org
Mon Nov 2 22:32:14 UTC 2015
Author: dteske
Date: Mon Nov 2 22:32:13 2015
New Revision: 290303
URL: https://svnweb.freebsd.org/changeset/base/290303
Log:
MFC r287380: Style: comments
Modified:
stable/10/usr.sbin/sysrc/sysrc
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/usr.sbin/sysrc/sysrc
==============================================================================
--- stable/10/usr.sbin/sysrc/sysrc Mon Nov 2 22:31:32 2015 (r290302)
+++ stable/10/usr.sbin/sysrc/sysrc Mon Nov 2 22:32:13 2015 (r290303)
@@ -200,7 +200,7 @@ jail_depend()
#
# Perform sanity checks
#
-[ $# -gt 0 ] || usage
+[ $# -gt 0 ] || usage # NOTREACHED
#
# Check for `--help' and `--version' command-line option
@@ -233,7 +233,7 @@ while getopts aAcdDef:Fhij:nNqR:vxX flag
e) SHOW_EQUALS=1 ;;
f) RC_CONFS="$RC_CONFS${RC_CONFS:+ }$OPTARG" ;;
F) SHOW_FILE=1 ;;
- h) usage ;;
+ h) usage ;; # NOTREACHED
i) IGNORE_UNKNOWNS=1 ;;
j) [ "$OPTARG" ] || die \
"%s: Missing or null argument to \`-j' flag" "$pgm"
@@ -247,7 +247,7 @@ while getopts aAcdDef:Fhij:nNqR:vxX flag
v) VERBOSE=1 QUIET= ;;
x) DELETE=${DELETE:-1} ;;
X) DELETE=2 ;;
- \?) usage ;;
+ \?) usage ;; # NOTREACHED
esac
done
shift $(( $OPTIND - 1 ))
@@ -255,7 +255,7 @@ shift $(( $OPTIND - 1 ))
#
# [More] Sanity checks (e.g., "sysrc --")
#
-[ $# -eq 0 -a ! "$SHOW_ALL" ] && usage
+[ $# -eq 0 -a ! "$SHOW_ALL" ] && usage # NOTREACHED
#
# Taint-check all rc.conf(5) files
More information about the svn-src-stable-10
mailing list