[debhelper-devel] [debhelper] 01/01: dh_strip: Remove unused sub argument

Niels Thykier nthykier at moszumanska.debian.org
Sat Feb 20 23:01:40 UTC 2016


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

nthykier pushed a commit to branch master
in repository debhelper.

commit 79605bc5fdbb4c42128a269fdb674e82327c9964
Author: Niels Thykier <niels at thykier.net>
Date:   Sat Feb 20 23:01:21 2016 +0000

    dh_strip: Remove unused sub argument
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 dh_strip | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dh_strip b/dh_strip
index 6a033ff..ee84d11 100755
--- a/dh_strip
+++ b/dh_strip
@@ -242,7 +242,7 @@ sub testfile {
 }
 
 sub make_debug {
-	my ($file, $tmp, $desttmp, $use_build_id, $package) = @_;
+	my ($file, $tmp, $desttmp, $use_build_id) = @_;
 
 	# Don't try to copy debug symbols out if the file is already
 	# stripped.
@@ -331,7 +331,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 	find(\&testfile,$tmp);
 
 	foreach (@shared_libs) {
-		my $debug_path = make_debug($_, $tmp, $debugtmp, $use_build_id, $package) if $keep_debug;
+		my $debug_path = make_debug($_, $tmp, $debugtmp, $use_build_id) if $keep_debug;
 		# Note that all calls to strip on shared libs
 		# *must* include the --strip-unneeded.
 		doit($strip,"--remove-section=.comment",
@@ -340,7 +340,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 	}
 	
 	foreach (@executables) {
-		my $debug_path = make_debug($_, $tmp, $debugtmp, $use_build_id, $package) if $keep_debug;
+		my $debug_path = make_debug($_, $tmp, $debugtmp, $use_build_id) if $keep_debug;
 		doit($strip,"--remove-section=.comment",
 			"--remove-section=.note",$_);
  		attach_debug($_, $debug_path) if defined $debug_path;

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




More information about the debhelper-devel mailing list