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()) {
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…
Cancel
Save