[dpkg] 45/192: dpkg-shlibdeps: Remove unused my $file variable

Ximin Luo infinity0 at debian.org
Tue Oct 17 11:03:57 UTC 2017


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

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

commit b22d5b1ba169c10a608c2f351cae32fd51206055
Author: Niels Thykier <niels at thykier.net>
Date:   Sat Apr 1 09:47:14 2017 +0000

    dpkg-shlibdeps: Remove unused my $file variable
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 debian/changelog          | 2 ++
 scripts/dpkg-shlibdeps.pl | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 14cbdc8..3833216 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
 dpkg (1.19.0) UNRELEASED; urgency=medium
 
+  * Remove an unused variable in dpkg-shlibdeps.
+    Thanks to Niels Thykier <niels at thykier.net>.
   * Perl modules:
     - Switch from Dpkg::Util to List::Util, now that the module in the
       new required Perl contains the needed functions.
diff --git a/scripts/dpkg-shlibdeps.pl b/scripts/dpkg-shlibdeps.pl
index 1687414..0dbb572 100755
--- a/scripts/dpkg-shlibdeps.pl
+++ b/scripts/dpkg-shlibdeps.pl
@@ -818,7 +818,6 @@ sub symfile_has_soname {
 # find_library ($soname, \@rpath, $format)
 sub my_find_library {
     my ($lib, $rpath, $format, $execfile) = @_;
-    my $file;
 
     # Create real RPATH in case $ORIGIN is used
     # Note: ld.so also supports $PLATFORM and $LIB but they are

-- 
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