summaryrefslogtreecommitdiff
path: root/dh_strip
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2016-02-20 23:01:21 +0000
committerNiels Thykier <niels@thykier.net>2016-02-20 23:01:21 +0000
commit79605bc5fdbb4c42128a269fdb674e82327c9964 (patch)
tree95aaf17298701d44e0871905cdc3d64305d41b32 /dh_strip
parent56591da4ff75e6c02834f2dc2b70b72c2741b664 (diff)
downloaddebhelper-79605bc5fdbb4c42128a269fdb674e82327c9964.tar.gz
dh_strip: Remove unused sub argument
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_strip')
-rwxr-xr-xdh_strip6
1 files changed, 3 insertions, 3 deletions
diff --git a/dh_strip b/dh_strip
index 6a033fff..ee84d111 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;