From 9a00b7c1d403dd2bdd8571f1d989ade22aa0af07 Mon Sep 17 00:00:00 2001 From: kelson42 Date: Wed, 2 Apr 2014 16:18:06 +0200 Subject: [PATCH] + remove unused variable --- src/server/kiwix-serve.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/server/kiwix-serve.cpp b/src/server/kiwix-serve.cpp index 963157a..ebb70a7 100644 --- a/src/server/kiwix-serve.cpp +++ b/src/server/kiwix-serve.cpp @@ -503,12 +503,10 @@ int main(int argc, char **argv) { } else if (!indexPath.empty()) { vector booksIds = libraryManager.getBooksIds(); kiwix::supportedIndexType indexType = kiwix::UNKNOWN; - bool hasSearchIndex = false; /* Try with the XapianSearcher */ try { new kiwix::XapianSearcher(indexPath); - hasSearchIndex = true; indexType = kiwix::XAPIAN; } catch (...) { }