mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-23 12:00:21 -04:00
+ Fix compilation warning
This commit is contained in:
parent
ce4a4ee6d3
commit
2c03199e1b
@ -156,7 +156,7 @@ int main(int argc, char **argv) {
|
|||||||
string indexPath = computeAbsolutePath(dataIndexPath, indexFilename);
|
string indexPath = computeAbsolutePath(dataIndexPath, indexFilename);
|
||||||
if (buildIndexFlag && !fileExists(indexPath)) {
|
if (buildIndexFlag && !fileExists(indexPath)) {
|
||||||
if (verboseFlag) { std::cout << "Start indexing the ZIM file..." << std::endl; }
|
if (verboseFlag) { std::cout << "Start indexing the ZIM file..." << std::endl; }
|
||||||
kiwix::Indexer *indexer = NULL;
|
kiwix::XapianIndexer *indexer = NULL;
|
||||||
try {
|
try {
|
||||||
indexer = new kiwix::XapianIndexer();
|
indexer = new kiwix::XapianIndexer();
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user