Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jun 2013 23:02:56 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r251269 - in head/usr.sbin/bsdconfig: networking share/media
Message-ID:  <201306022302.r52N2utC088533@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Sun Jun  2 23:02:56 2013
New Revision: 251269
URL: http://svnweb.freebsd.org/changeset/base/251269

Log:
  Standardize NULL initialization to be consistent.

Modified:
  head/usr.sbin/bsdconfig/networking/devices
  head/usr.sbin/bsdconfig/share/media/options.subr
  head/usr.sbin/bsdconfig/share/media/tcpip.subr

Modified: head/usr.sbin/bsdconfig/networking/devices
==============================================================================
--- head/usr.sbin/bsdconfig/networking/devices	Sun Jun  2 22:54:36 2013	(r251268)
+++ head/usr.sbin/bsdconfig/networking/devices	Sun Jun  2 23:02:56 2013	(r251269)
@@ -71,7 +71,7 @@ f_mustberoot_init
 #
 # Launch application main menu
 #
-defaultitem=""
+defaultitem=
 while :; do
 	f_dialog_menu_netdev "$defaultitem" || break
 	f_dialog_menutag_fetch interface

Modified: head/usr.sbin/bsdconfig/share/media/options.subr
==============================================================================
--- head/usr.sbin/bsdconfig/share/media/options.subr	Sun Jun  2 22:54:36 2013	(r251268)
+++ head/usr.sbin/bsdconfig/share/media/options.subr	Sun Jun  2 23:02:56 2013	(r251269)
@@ -69,7 +69,7 @@ f_media_options_menu()
 
 	local cp
 	while :; do
-		menu_list=""
+		menu_list=
 
 		f_getvar $VAR_NFS_SECURE cp
 		if [ "$cp" = "YES" ]; then menu_list="$menu_list

Modified: head/usr.sbin/bsdconfig/share/media/tcpip.subr
==============================================================================
--- head/usr.sbin/bsdconfig/share/media/tcpip.subr	Sun Jun  2 22:54:36 2013	(r251268)
+++ head/usr.sbin/bsdconfig/share/media/tcpip.subr	Sun Jun  2 23:02:56 2013	(r251269)
@@ -1371,7 +1371,7 @@ f_device_dialog_tcp()
 			# Create a persistent menu instead
 
 			f_dialog_title "$msg_network_configuration"
-			local prompt=""
+			local prompt=
 
 			while :; do
 				cp=$( $DIALOG \



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