ovf import: small code style cleanups

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2024-11-18 19:56:24 +01:00
parent 5ae7d10fdc
commit 426b0cc3aa

View File

@ -253,12 +253,8 @@ sub parse_ovf {
my $boot_order = []; my $boot_order = [];
foreach my $item_node (@disk_items) { for my $item_node (@disk_items) {
my ($disk_node, $file_node, $controller_node, $pve_disk);
my $disk_node;
my $file_node;
my $controller_node;
my $pve_disk;
print "disk item:\n", $item_node->toString(1), "\n" if $debug; print "disk item:\n", $item_node->toString(1), "\n" if $debug;