* [PATCH] lei_overview: unnecessary g2m capture
@ 2021-03-19 4:20 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2021-03-19 4:20 UTC (permalink / raw)
To: meta
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]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-19 4:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-19 4:20 [PATCH] lei_overview: unnecessary g2m capture Eric Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).