diff options
author | Eric Wong <e@80x24.org> | 2021-01-27 03:42:28 -0600 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-01-29 05:04:40 +0000 |
commit | 49385e3e730339d1dc86c6d37350518397ee6094 (patch) | |
tree | ab09e715539363de6ab6a8ea1ea222cdc03d5dfd /lib/PublicInbox/LeiOverview.pm | |
parent | cf850cf6efac835445949b28ee0346f1dc34f8bd (diff) | |
download | public-inbox-49385e3e730339d1dc86c6d37350518397ee6094.tar.gz |
Declaring "my $buf" inside that `if' branch was useless, so we've been declaring it per-callback when {l2m} isn't in use.
Diffstat (limited to 'lib/PublicInbox/LeiOverview.pm')
-rw-r--r-- | lib/PublicInbox/LeiOverview.pm | 1 |
1 files changed, 0 insertions, 1 deletions
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 |