]> Sergey Matveev's repositories - public-inbox.git/commitdiff
leixsearch: remove some commented out code
authorEric Wong <e@80x24.org>
Thu, 14 Jan 2021 07:06:25 +0000 (19:06 -1200)
committerEric Wong <e@80x24.org>
Fri, 15 Jan 2021 00:19:12 +0000 (00:19 +0000)
Dedupe is active, now, and we have $each_smsg->(...)

lib/PublicInbox/LeiXSearch.pm

index ee93e074b1cacca62055cff1d507399ea5c224c5..25ded54441213a3e9651b1d01f2dac106bdc36fe 100644 (file)
@@ -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);