diff --git a/t/FusionInventory/Test/Utils.pm b/t/FusionInventory/Test/Utils.pm index 5bf0a88cb1..a65ce97e98 100644 --- a/t/FusionInventory/Test/Utils.pm +++ b/t/FusionInventory/Test/Utils.pm @@ -119,7 +119,7 @@ sub loadRegistryDump { my $root_offset; my $root_key = {}; - my $current_key; + my $current_key = $root_key; open (my $handle, '<', $file) or die "can't open $file: $ERRNO";