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 F1BC01FF9C for ; Thu, 14 Jan 2021 07:06:28 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 12/14] leixsearch: remove some commented out code Date: Wed, 13 Jan 2021 19:06:25 -1200 Message-Id: <20210114070627.18195-13-e@80x24.org> In-Reply-To: <20210114070627.18195-1-e@80x24.org> References: <20210114070627.18195-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Dedupe is active, now, and we have $each_smsg->(...) --- lib/PublicInbox/LeiXSearch.pm | 4 ---- 1 file changed, 4 deletions(-) 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);