mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-24 04:20:56 -04:00
+ remove unused variable
This commit is contained in:
parent
ef6d5bc055
commit
9a00b7c1d4
@ -503,12 +503,10 @@ int main(int argc, char **argv) {
|
||||
} else if (!indexPath.empty()) {
|
||||
vector<string> 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 (...) {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user