about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-08-22 08:07:57 +0000
committerEric Wong <e@80x24.org>2015-08-22 08:07:57 +0000
commited872bd8ed6c6a10096b9946614715a03da76485 (patch)
tree065afe3d9108851cf66d586d3179a773d1edc876
parent1761fba7befab2681276ac8f123593610ad27e58 (diff)
downloadpublic-inbox-ed872bd8ed6c6a10096b9946614715a03da76485.tar.gz
Perl seems to incorrectly warn for this, workaround it.
-rw-r--r--lib/PublicInbox/View.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index ab2720ba..4e015070 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -579,6 +579,7 @@ sub thread_results {
         require PublicInbox::Thread;
         my $th = PublicInbox::Thread->new(@$msgs);
         $th->thread;
+        no warnings 'once';
         $th->order(*PublicInbox::Thread::sort_ts);
         $th
 }