summaryrefslogtreecommitdiff
path: root/dh
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2017-12-30 20:34:48 +0000
committerNiels Thykier <niels@thykier.net>2017-12-30 20:35:03 +0000
commitfb1060cdcf6575fd9aed711e470e194892874375 (patch)
tree3a91aa698bd2148d9f9fa4a8df31e78116238f16 /dh
parent8c69e49565f6de23d1e5d254097a83789001cbde (diff)
downloaddebhelper-fb1060cdcf6575fd9aed711e470e194892874375.tar.gz
dh: Fix a warning about an uninitialized variable
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh')
-rwxr-xr-xdh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh b/dh
index 344d4e93..0403d0ca 100755
--- a/dh
+++ b/dh
@@ -303,7 +303,7 @@ if (not compat(9, 1)) {
unshift(@ARGV, "--with=build-stamp");
}
-push @{$dh{WITH}},split(",", $ENV{DH_EXTRA_ADDONS});
+push(@{$dh{WITH}},split(",", $ENV{DH_EXTRA_ADDONS})) if $ENV{DH_EXTRA_ADDONS};
inhibit_log();