]> git.proxmox.com Git - pve-cluster.git/commitdiff
get_nodelist: remove unused variable
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 25 Jan 2019 16:47:28 +0000 (17:47 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 25 Jan 2019 16:47:28 +0000 (17:47 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/Cluster.pm

index a4e5c3f22c6ca761fa5c6a9ab646e1e92cd1b293..e52bf9d9df23815329f76ed6f112a435cf380b83 100644 (file)
@@ -520,11 +520,8 @@ sub get_members {
 }
 
 sub get_nodelist {
-
     my $nodelist = $clinfo->{nodelist};
 
-    my $result = [];
-
     my $nodename = PVE::INotify::nodename();
 
     if (!$nodelist || !$nodelist->{$nodename}) {