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

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=b4384aa5fe06d4de79323139a7b30299ad821f59

commit b4384aa5fe06d4de79323139a7b30299ad821f59
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Tue Oct 23 03:06:49 2018 +0200

    dpkg-shlibdeps: Remove unused variable
---
 debian/changelog          | 1 +
 scripts/dpkg-shlibdeps.pl | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c6c1e191a..075fff395 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -50,6 +50,7 @@ dpkg (1.19.3) UNRELEASED; urgency=medium
     - Switch perl code to use the new Dpkg::Source::Format module.
     - dpkg-source: Move source format selection earlier in the build.
     - dpkg-source: Use new format argument for Dpkg::Source::Package->new().
+    - dpkg-shlibdeps: Remove unused variable.
   * Build system:
     - get-version: Use a format string with printf.
     - run-script: Use $() instead of deprecated ``.
diff --git a/scripts/dpkg-shlibdeps.pl b/scripts/dpkg-shlibdeps.pl
index fa6c37a4d..2e8bfa73d 100755
--- a/scripts/dpkg-shlibdeps.pl
+++ b/scripts/dpkg-shlibdeps.pl
@@ -227,7 +227,6 @@ foreach my $file (keys %exec) {
     my $file2pkg = find_packages(keys %libfiles, keys %altlibfiles);
     my $symfile = Dpkg::Shlibs::SymbolFile->new();
     my $dumplibs_wo_symfile = Dpkg::Shlibs::Objdump->new();
-    my @soname_wo_symfile;
     SONAME: foreach my $soname (@sonames) {
       # Select the first good entry from the ordered list that we got from
       # find_library(), and skip to the next SONAME.
@@ -295,7 +294,6 @@ foreach my $file (keys %exec) {
                    warning(g_('%s has an unexpected SONAME (%s)'), $lib, $id);
                    $alt_soname{$id} = $soname;
                }
-               push @soname_wo_symfile, $soname;
 
                # Only try to generate a dependency for libraries with a SONAME
                 if (not $libobj->is_public_library()) {

-- 
Dpkg.Org's dpkg

Reply via email to