remove useless code

This commit is contained in:
garnier-quentin 2020-01-14 17:07:41 +01:00
parent 43d405a375
commit 63d0c387f9
1 changed files with 0 additions and 3 deletions

View File

@ -899,9 +899,6 @@ sub map_instance {
$results->{$name} = $options{results}->{$entry};
} elsif (defined($options{results}->{$options{mapping}->{$name}->{oid}}->{$entry})) {
$results->{$name} = $options{results}->{$options{mapping}->{$name}->{oid}}->{$entry};
} elsif (defined($options{mapping}->{$name}->{location}) &&
defined($options{results}->{$options{mapping}->{$name}->{location}}->{$entry})) {
$results->{$name} = $options{results}->{$options{mapping}->{$name}->{location}}->{$entry};
} else {
$results->{$name} = defined($options{default}) ? $options{default} : undef;
}