From 18bd312216d991663f40ec721fe6fc7d3b6eb14e Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Mon, 1 Jul 2024 16:24:41 -0400 Subject: [PATCH] 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. --- ddclient.in | 1 - 1 file changed, 1 deletion(-) diff --git a/ddclient.in b/ddclient.in index 9e23ebb..0ea9f08 100755 --- a/ddclient.in +++ b/ddclient.in @@ -2001,7 +2001,6 @@ sub init_config { next HOST; } else { warning("host $h: ignoring invalid variable value '$k=$config{$h}{$k}': $@"); - $conf->{$k} = undef; } } }