Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Nov 2015 22:32:13 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r290303 - stable/10/usr.sbin/sysrc
Message-ID:  <201511022232.tA2MWDZB085922@repo.freebsd.org>

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



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