summaryrefslogtreecommitdiffstats
path: root/lib/network/netcenter.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network/netcenter.pm')
-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 {