[Reproducible-commits] [dpkg] 25/40: dpkg-shlibdeps: Initialize $warnings with ORed constants instead of a literal

Jérémy Bobbio lunar at moszumanska.debian.org
Sat May 30 09:52:49 UTC 2015


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

lunar pushed a commit to branch pu/reproducible_builds
in repository dpkg.

commit 2a708a80d1849b615e83be4709c346ca3994da6a
Author: Guillem Jover <guillem at debian.org>
Date:   Wed May 27 19:30:31 2015 +0200

    dpkg-shlibdeps: Initialize $warnings with ORed constants instead of a literal
    
    This makes the assignment easier to understand.
---
 scripts/dpkg-shlibdeps.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/dpkg-shlibdeps.pl b/scripts/dpkg-shlibdeps.pl
index c5cf56d..7b96b0f 100755
--- a/scripts/dpkg-shlibdeps.pl
+++ b/scripts/dpkg-shlibdeps.pl
@@ -67,7 +67,7 @@ my $varlistfile = 'debian/substvars';
 my $varlistfilenew;
 my $varnameprefix = 'shlibs';
 my $ignore_missing_info = 0;
-my $warnings = 3;
+my $warnings = WARN_SYM_NOT_FOUND | WARN_DEP_AVOIDABLE;
 my $debug = 0;
 my @exclude = ();
 my @pkg_dir_to_search = ();

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



More information about the Reproducible-commits mailing list