From 49385e3e730339d1dc86c6d37350518397ee6094 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 27 Jan 2021 03:42:28 -0600 Subject: [PATCH] lei_overview: clear redundant ovv_buf definition Declaring "my $buf" inside that `if' branch was useless, so we've been declaring it per-callback when {l2m} isn't in use. --- lib/PublicInbox/LeiOverview.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/PublicInbox/LeiOverview.pm b/lib/PublicInbox/LeiOverview.pm index ea35871c..f9a28138 100644 --- a/lib/PublicInbox/LeiOverview.pm +++ b/lib/PublicInbox/LeiOverview.pm @@ -208,7 +208,6 @@ sub ovv_each_smsg_cb { # runs in wq worker usually $json = $pkg->new; $json->utf8->canonical; $json->ascii(1) if $lei->{opt}->{ascii}; - $lei->{ovv_buf} = \(my $buf = ''); } my $l2m = $lei->{l2m} or $dedupe->prepare_dedupe; if ($l2m && !$ibxish) { # remote https?:// mboxrd -- 2.44.0