diff options
author | Guillem Jover <guillem@debian.org> | 2018-10-23 03:06:49 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2019-01-15 03:42:39 +0100 |
commit | b4384aa5fe06d4de79323139a7b30299ad821f59 (patch) | |
tree | cc53cb5b3cfbd4ac36eef9ef7525bb74693b714e | |
parent | 4a4619831de8b8972f86b489660dc98f187cfa34 (diff) | |
download | dpkg-b4384aa5fe06d4de79323139a7b30299ad821f59.tar.gz |
dpkg-shlibdeps: Remove unused variable
-rw-r--r-- | debian/changelog | 1 | ||||
-rwxr-xr-x | scripts/dpkg-shlibdeps.pl | 2 |
2 files changed, 1 insertions, 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()) { |