--- a/src/internfile/internfile.cpp
+++ b/src/internfile/internfile.cpp
@@ -414,7 +414,6 @@
return;
}
DocFetcher::RawDoc rawdoc;
- string data;
if (!fetcher->fetch(cnf, idoc, rawdoc)) {
LOGERR(("FileInterner:: fetcher failed\n"));
return;
@@ -424,8 +423,10 @@
init(rawdoc.data, &rawdoc.st, cnf, flags, &idoc.mimetype);
break;
case DocFetcher::RawDoc::RDK_DATA:
- init(data, cnf, flags, idoc.mimetype);
+ init(rawdoc.data, cnf, flags, idoc.mimetype);
break;
+ default:
+ LOGERR(("FileInterner::FileInterner(idoc): bad rawdoc kind ??\n"));
}
return;
}