diff options
author | Eric Wong <e@80x24.org> | 2015-08-22 08:07:57 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-08-22 08:07:57 +0000 |
commit | ed872bd8ed6c6a10096b9946614715a03da76485 (patch) | |
tree | 065afe3d9108851cf66d586d3179a773d1edc876 | |
parent | 1761fba7befab2681276ac8f123593610ad27e58 (diff) | |
download | public-inbox-ed872bd8ed6c6a10096b9946614715a03da76485.tar.gz |
Perl seems to incorrectly warn for this, workaround it.
-rw-r--r-- | lib/PublicInbox/View.pm | 1 |
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 } |