+ remove unused variable

This commit is contained in:
kelson42 2014-04-02 16:18:06 +02:00
parent ef6d5bc055
commit 9a00b7c1d4

View File

@ -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 (...) {
}