about summary refs log tree commit homepage
path: root/lib/PublicInbox/View.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-12-24 11:52:41 +0000
committerEric Wong <e@80x24.org>2016-12-24 19:40:59 +0000
commit8b8be7ffc64e9e36308df2a592b6afd55e593442 (patch)
tree1cab892339e14193edcb5f83f26aa9397c2cfa75 /lib/PublicInbox/View.pm
parenta3481323fcce58b84d6209d928e7091cd8e69db5 (diff)
downloadpublic-inbox-8b8be7ffc64e9e36308df2a592b6afd55e593442.tar.gz
And add a comment about it to remind our future selves.
Diffstat (limited to 'lib/PublicInbox/View.pm')
-rw-r--r--lib/PublicInbox/View.pm2
1 files changed, 1 insertions, 1 deletions
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;