about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-01-13 19:06:25 -1200
committerEric Wong <e@80x24.org>2021-01-15 00:19:12 +0000
commit231bd779ab46d47f221d0021c7641f128e936527 (patch)
treeec4524648c8357e0d6be6db2dd995181c287e18f
parentf49d6a9ac8ff542c625e909798ef0947df45f34e (diff)
downloadpublic-inbox-231bd779ab46d47f221d0021c7641f128e936527.tar.gz
Dedupe is active, now, and we have $each_smsg->(...)
-rw-r--r--lib/PublicInbox/LeiXSearch.pm4
1 files changed, 0 insertions, 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);