3
0
Fork 0

+ remove unused variable

small_fixes
kelson42 12 years ago
parent ef6d5bc055
commit 9a00b7c1d4

@ -503,12 +503,10 @@ int main(int argc, char **argv) {
} else if (!indexPath.empty()) { } else if (!indexPath.empty()) {
vector<string> booksIds = libraryManager.getBooksIds(); vector<string> booksIds = libraryManager.getBooksIds();
kiwix::supportedIndexType indexType = kiwix::UNKNOWN; kiwix::supportedIndexType indexType = kiwix::UNKNOWN;
bool hasSearchIndex = false;
/* Try with the XapianSearcher */ /* Try with the XapianSearcher */
try { try {
new kiwix::XapianSearcher(indexPath); new kiwix::XapianSearcher(indexPath);
hasSearchIndex = true;
indexType = kiwix::XAPIAN; indexType = kiwix::XAPIAN;
} catch (...) { } catch (...) {
} }

Loading…
Cancel
Save