diff options
author | Niels Thykier <niels@thykier.net> | 2016-02-20 23:01:21 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2016-02-20 23:01:21 +0000 |
commit | 79605bc5fdbb4c42128a269fdb674e82327c9964 (patch) | |
tree | 95aaf17298701d44e0871905cdc3d64305d41b32 /dh_strip | |
parent | 56591da4ff75e6c02834f2dc2b70b72c2741b664 (diff) | |
download | debhelper-79605bc5fdbb4c42128a269fdb674e82327c9964.tar.gz |
dh_strip: Remove unused sub argument
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_strip')
-rwxr-xr-x | dh_strip | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |