svn commit: r262896 - head/usr.sbin/bsdconfig/share

Devin Teske dteske at FreeBSD.org
Fri Mar 7 20:15:09 UTC 2014


Author: dteske
Date: Fri Mar  7 20:15:08 2014
New Revision: 262896
URL: http://svnweb.freebsd.org/changeset/base/262896

Log:
  Add missing local declaration.

Modified:
  head/usr.sbin/bsdconfig/share/common.subr

Modified: head/usr.sbin/bsdconfig/share/common.subr
==============================================================================
--- head/usr.sbin/bsdconfig/share/common.subr	Fri Mar  7 20:12:59 2014	(r262895)
+++ head/usr.sbin/bsdconfig/share/common.subr	Fri Mar  7 20:15:08 2014	(r262896)
@@ -1,7 +1,7 @@
 if [ ! "$_COMMON_SUBR" ]; then _COMMON_SUBR=1
 #
 # Copyright (c) 2012 Ron McDowell
-# Copyright (c) 2012-2013 Devin Teske
+# Copyright (c) 2012-2014 Devin Teske
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -153,7 +153,7 @@ f_debug_init()
 	# Process stored command-line arguments
 	#
 	set -- $ARGV
-	local OPTIND
+	local OPTIND flag
 	f_dprintf "f_debug_init: ARGV=[%s] GETOPTS_STDARGS=[%s]" \
 	          "$ARGV" "$GETOPTS_STDARGS"
 	while getopts "$GETOPTS_STDARGS$GETOPTS_EXTRA$GETOPTS_ALLFLAGS" flag \


More information about the svn-src-all mailing list