From bf19b960fdd4b8f5083065c0d3a71d77973e8f94 Mon Sep 17 00:00:00 2001 From: Xiao Yi Fang Date: Thu, 18 Jul 2024 10:15:44 +0800 Subject: [PATCH] opt: remove unused code --- src/ftshelpers.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ftshelpers.cc b/src/ftshelpers.cc index c8260306..5fc6d4b4 100644 --- a/src/ftshelpers.cc +++ b/src/ftshelpers.cc @@ -66,8 +66,6 @@ void makeFTSIndex( BtreeIndexing::BtreeDictionary * dict, QAtomicInt & isCancell // indexer.set_stemming_strategy(indexer.STEM_SOME_FULL_POS); indexer.set_flags( Xapian::TermGenerator::FLAG_CJK_NGRAM ); - BtreeIndexing::IndexedWords indexedWords; - QSet< uint32_t > setOfOffsets; setOfOffsets.reserve( dict->getArticleCount() );