From: Eric Wong Date: Thu, 14 Jan 2021 07:06:25 +0000 (-1200) Subject: leixsearch: remove some commented out code X-Git-Tag: v1.7.0~1365 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=231bd779ab46d47f221d0021c7641f128e936527;p=public-inbox.git leixsearch: remove some commented out code Dedupe is active, now, and we have $each_smsg->(...) --- diff --git a/lib/PublicInbox/LeiXSearch.pm b/lib/PublicInbox/LeiXSearch.pm index ee93e074..25ded544 100644 --- a/lib/PublicInbox/LeiXSearch.pm +++ b/lib/PublicInbox/LeiXSearch.pm @@ -117,8 +117,6 @@ sub query_thread_mset { # for --thread next if $dd->is_smsg_dup($smsg); my $mitem = delete $n2item{$smsg->{num}}; $each_smsg->($smsg, $mitem); - # $self->out($buf .= $ORS); - # $emit_cb->($smsg); } @{$ctx->{xids}} = (); } @@ -142,8 +140,6 @@ sub query_mset { # non-parallel for non-"--thread" users my $smsg = smsg_for($self, $it) or next; next if $dd->is_smsg_dup($smsg); $each_smsg->($smsg, $it); - # $self->out($buf .= $ORS) if defined $buf; - #$emit_cb->($smsg); } } while (_mset_more($mset, $mo)); $lei->{ovv}->ovv_atexit_child($lei);