summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-03 14:29:10 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-03 14:29:10 +0000
commit6268ca1aeeb45a1c34077594541582286d19d838 (patch)
tree43d6066ddca7b879aff8748ba3b2db9b7bc20bec /lib/network
parent245a364aa9304adc73e23b3ffc6f253981df8d60 (diff)
downloaddrakx-net-6268ca1aeeb45a1c34077594541582286d19d838.tar
drakx-net-6268ca1aeeb45a1c34077594541582286d19d838.tar.gz
drakx-net-6268ca1aeeb45a1c34077594541582286d19d838.tar.bz2
drakx-net-6268ca1aeeb45a1c34077594541582286d19d838.tar.xz
drakx-net-6268ca1aeeb45a1c34077594541582286d19d838.zip
simplify
Diffstat (limited to 'lib/network')
-rwxr-xr-xlib/network/netcenter.pm2
1 files changed, 1 insertions, 1 deletions
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 {