[debhelper-devel] [debhelper] 01/04: dh: Fix a warning about an uninitialized variable

Niels Thykier nthykier at moszumanska.debian.org
Sat Dec 30 20:59:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository debhelper.

commit fb1060cdcf6575fd9aed711e470e194892874375
Author: Niels Thykier <niels at thykier.net>
Date:   Sat Dec 30 20:34:48 2017 +0000

    dh: Fix a warning about an uninitialized variable
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 dh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dh b/dh
index 344d4e9..0403d0c 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();
 		

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list