From 6268ca1aeeb45a1c34077594541582286d19d838 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 3 Aug 2007 14:29:10 +0000 Subject: simplify --- lib/network/netcenter.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/network') diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm index 9392eea..bae9c15 100755 --- a/lib/network/netcenter.pm +++ b/lib/network/netcenter.pm @@ -27,7 +27,7 @@ sub filter_networks { my @networks = sort { $b->{configured} <=> $a->{configured} || $b->{signal_strength} <=> $a->{signal_strength} || $a->{name} cmp $b->{name}; } values %{$connection->{networks}}; - my @valuable_networks = splice @networks, 0, 3; + splice @networks, 0, 3; } sub build_networks_list { -- cgit v1.2.1