From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 356E11F9FC for ; Fri, 19 Mar 2021 04:20:32 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] lei_overview: unnecessary g2m capture Date: Fri, 19 Mar 2021 07:20:32 +0300 Message-Id: <20210319042032.19853-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Nothing like the -Wunused C compiler flag in perl, AFAIK... --- lib/PublicInbox/LeiOverview.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/PublicInbox/LeiOverview.pm b/lib/PublicInbox/LeiOverview.pm index 01556273..f6348162 100644 --- a/lib/PublicInbox/LeiOverview.pm +++ b/lib/PublicInbox/LeiOverview.pm @@ -203,7 +203,6 @@ sub ovv_each_smsg_cb { # runs in wq worker usually } $lei->{ovv_buf} = \(my $buf = '') if !$l2m; if ($l2m && !$ibxish) { # remote https?:// mboxrd - my $g2m = $l2m->can('git_to_mail'); my $wcb = $l2m->write_cb($lei); sub { my ($smsg, undef, $eml) = @_; # no mitem in $_[1]