Skip to content

Commit

Permalink
unittest: make t/03-var.t happy
Browse files Browse the repository at this point in the history
  • Loading branch information
g-bougard committed Feb 22, 2019
1 parent b63f1ee commit 54e22c5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions lib/FusionInventory/Agent/SNMP/Device/Components.pm
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,6 @@ sub new {
sub getPhysicalComponents {
my ($self) = @_;

my $device = $self->{device};
my $logger = $device->{logger};

# INDEX was still computed during object creation
my @keys = sort grep { $_ ne 'INDEX' } keys(%physical_components_variables);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ sub doInventory {
my (%params) = @_;

my $inventory = $params{inventory};
my $logger = $params{logger};

foreach my $vz (_parseVzlist(%params)) {
$inventory->addEntry(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ sub _setFSecureInfos {
}

sub _setBitdefenderInfos {
my ($antivirus, $logger) = @_;
my ($antivirus) = @_;

my $bitdefenderReg = _getSoftwareRegistryKeys(
'BitDefender\About',
Expand Down

0 comments on commit 54e22c5

Please sign in to comment.