+ Fix compilation warning

This commit is contained in:
kelson42 2014-04-02 17:11:40 +02:00
parent ce4a4ee6d3
commit 2c03199e1b

View File

@ -156,7 +156,7 @@ int main(int argc, char **argv) {
string indexPath = computeAbsolutePath(dataIndexPath, indexFilename);
if (buildIndexFlag && !fileExists(indexPath)) {
if (verboseFlag) { std::cout << "Start indexing the ZIM file..." << std::endl; }
kiwix::Indexer *indexer = NULL;
kiwix::XapianIndexer *indexer = NULL;
try {
indexer = new kiwix::XapianIndexer();
} catch (...) {