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

guillem pushed a commit to branch master
in repository dpkg.

commit df0a86de45006f9f2b2980a0ad2e81640271a685
Author: Guillem Jover <guil...@debian.org>
Date:   Tue May 8 14:16:38 2018 +0200

    dpkg-buildpackage: Avoid using an uninitialized variable
    
    If DEB_SIGN_KEYID is not set in the environment or the signing key is
    not passed via --sign-key, dpkg-buildpackage emits a perl warning.
    
    Warned-by: perl
    Fixes: commit 6f903af181057a046a1344aadca552b113a2c2ee
    Based-on-patch-by: Sven Joachim <svenj...@gmx.de>
---
 scripts/dpkg-buildpackage.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/dpkg-buildpackage.pl b/scripts/dpkg-buildpackage.pl
index dccb8f8..ee41555 100755
--- a/scripts/dpkg-buildpackage.pl
+++ b/scripts/dpkg-buildpackage.pl
@@ -813,6 +813,7 @@ sub update_files_field {
 }
 
 sub signkey_validate {
+    return unless defined $signkey;
     # Make sure this is an hex keyid.
     return unless $signkey =~ m/^(?:0x)?([[:xdigit:]]+)$/;
 

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

Reply via email to