From 7cbdc00ece1c77d25e6654446624e6457145e955 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 19 Sep 2021 12:50:24 +0000 Subject: lei_xsearch: drop Data::Dumper use We're not using Data::Dumper for JSON output. --- lib/PublicInbox/LeiXSearch.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/PublicInbox/LeiXSearch.pm') diff --git a/lib/PublicInbox/LeiXSearch.pm b/lib/PublicInbox/LeiXSearch.pm index 4583b067..756183a9 100644 --- a/lib/PublicInbox/LeiXSearch.pm +++ b/lib/PublicInbox/LeiXSearch.pm @@ -633,7 +633,7 @@ sub _lcat2smsg { # git->cat_async callback } } -sub lcat_dump { +sub lcat_dump { # via wq_io_do my ($self) = @_; my $lei = $self->{lei}; my $each_smsg = $lei->{ovv}->ovv_each_smsg_cb($lei); @@ -642,7 +642,6 @@ sub lcat_dump { my $json_dump = $each_smsg; $each_smsg = sub { my ($smsg) = @_; - use Data::Dumper; $smsg->{-json_dump} = $json_dump; $git->cat_async($smsg->{blob}, \&_lcat2smsg, $smsg); }; -- cgit v1.2.3-24-ge0c7