From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: meta@public-inbox.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id C6DAA200FA for ; Fri, 25 Sep 2015 02:27:59 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 3/8] searchidx: remove unused sub: next_doc_id Date: Fri, 25 Sep 2015 02:27:52 +0000 Message-Id: <20150925022757.6915-4-e@80x24.org> In-Reply-To: <20150925022757.6915-1-e@80x24.org> References: <20150925022757.6915-1-e@80x24.org> List-Id: It seems like it was never used --- lib/PublicInbox/SearchIdx.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/PublicInbox/SearchIdx.pm b/lib/PublicInbox/SearchIdx.pm index 351450c..8724326 100644 --- a/lib/PublicInbox/SearchIdx.pm +++ b/lib/PublicInbox/SearchIdx.pm @@ -175,8 +175,6 @@ sub term_generator { # write-only $self->{term_generator} = $tg; } -sub next_doc_id { $_[0]->{xdb}->get_lastdocid + 1 } - # increments last_thread_id counter # returns a 64-bit integer represented as a hex string sub next_thread_id { -- EW