From 8b8be7ffc64e9e36308df2a592b6afd55e593442 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 24 Dec 2016 11:52:41 +0000 Subject: view: remove unused parameter And add a comment about it to remind our future selves. --- lib/PublicInbox/View.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/View.pm') diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index b7796651..cf40b555 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -441,7 +441,7 @@ sub attach_link ($$$$;$) { sub add_text_body { my ($upfx, $p) = @_; # from msg_iter: [ Email::MIME, depth, @idx ] - my ($part, $depth, @idx) = @$p; + my ($part, $depth) = @$p; # attachment @idx is unused my $ct = $part->content_type || 'text/plain'; my $fn = $part->filename; -- cgit v1.2.3-24-ge0c7