This is an automated email from the git hooks/post-receive script. jamessan pushed a commit to branch master in repository devscripts.
commit c3fb433b25917d66ff4a084737dda76f4489cb09 Author: James McCoy <james...@debian.org> Date: Thu Sep 29 20:31:07 2016 -0400 chdist: Silence uninitialized value warnings Signed-off-by: James McCoy <james...@debian.org> --- debian/changelog | 3 +++ scripts/chdist.pl | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index e65cd8c..8029e12 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,6 +14,9 @@ devscripts (2.16.8) UNRELEASED; urgency=medium #836725) * Change Getopt::Long configuration to disable gnu_compat so an '=' isn't required for optional arguments (e.g. "dch --news="). + * chdist: + + Silence warnings about uninitialized values. Thanks to Christoph Biedl + for the patch. (Closes: #838185) -- Paul Wise <p...@debian.org> Sat, 27 Aug 2016 13:58:14 +0800 diff --git a/scripts/chdist.pl b/scripts/chdist.pl index 0dcb643..3745256 100755 --- a/scripts/chdist.pl +++ b/scripts/chdist.pl @@ -500,7 +500,7 @@ sub dist_compare(\@$$) { # Escaped versions my @esc_vers = @versions; foreach my $vers (@esc_vers) { - $vers =~ s|\+|\\\+|; + $vers =~ s|\+|\\\+| if defined $vers; } # Do compare @@ -585,7 +585,7 @@ sub compare_src_bin { foreach my $package (@all_packages) { my $line = "$package "; my $status = ""; - my $details; + my $details = ''; foreach my $type (@comp_types) { if ( $packages{$type}{$package} ) { -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git _______________________________________________ devscripts-devel mailing list devscripts-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel