Don't initialize $config{$h}
entries to undef
There's no need -- if the key doesn't exist the value returned is already `undef`. This prevents debug output from being littered with `undef` lines.
This commit is contained in:
parent
e8f0358bbb
commit
18bd312216
1 changed files with 0 additions and 1 deletions
|
@ -2001,7 +2001,6 @@ sub init_config {
|
||||||
next HOST;
|
next HOST;
|
||||||
} else {
|
} else {
|
||||||
warning("host $h: ignoring invalid variable value '$k=$config{$h}{$k}': $@");
|
warning("host $h: ignoring invalid variable value '$k=$config{$h}{$k}': $@");
|
||||||
$conf->{$k} = undef;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue