From 0608f026bc19fd3877feedc62dc80b825f21791e Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 6 Jan 2005 09:20:04 +0000 Subject: remove unused variables --- perl-install/network/tools.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm index e82afd16f..2e0ea2d74 100644 --- a/perl-install/network/tools.pm +++ b/perl-install/network/tools.pm @@ -272,8 +272,7 @@ sub get_interface_status { #- returns (gateway_interface, interface is up, gateway address, dns server address) sub get_internet_connection { my ($netc, $intf, $o_gw_intf) = @_; - my ($gw_intf, $is_up, $gw_address); - $gw_intf = $o_gw_intf || get_default_gateway_interface($netc, $intf) or return; + my $gw_intf = $o_gw_intf || get_default_gateway_interface($netc, $intf) or return; return $gw_intf, get_interface_status($gw_intf), $netc->{dnsServer}; } -- cgit v1.2.1