svn commit: r309906 - head/usr.sbin/bsdinstall/scripts

Devin Teske dteske at FreeBSD.org
Mon Dec 12 18:21:57 UTC 2016


Author: dteske
Date: Mon Dec 12 18:21:56 2016
New Revision: 309906
URL: https://svnweb.freebsd.org/changeset/base/309906

Log:
  Consolidate locals

Modified:
  head/usr.sbin/bsdinstall/scripts/wlanconfig

Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/wlanconfig	Mon Dec 12 18:20:56 2016	(r309905)
+++ head/usr.sbin/bsdinstall/scripts/wlanconfig	Mon Dec 12 18:21:56 2016	(r309906)
@@ -37,9 +37,7 @@ f_include $BSDCFG_SHARE/dialog.subr
 
 country_set()
 {
-	local error_str
-	local iface_up
-	local ifconfig_args=
+	local error_str iface_up ifconfig_args=
 
 	#
 	# Setup what was selected
@@ -91,13 +89,9 @@ country_set()
 
 dialog_country_select()
 {
-	local input
+	local input regdomains countries regdomain country
 	local def_item_regdomain=
 	local def_item_country=
-	local regdomains
-	local countries
-	local regdomain
-	local country
 
 	#
 	# Parse available countries/regdomains


More information about the svn-src-head mailing list