zim::Article currentArticle better local declared

This commit is contained in:
kelson42 2010-04-09 09:42:55 +00:00
parent c22049ea8c
commit cdd43db32d
2 changed files with 2 additions and 1 deletions

View File

@ -80,6 +80,8 @@ namespace kiwix {
while(this->currentArticleOffset < thresholdOffset &&
this->currentArticleOffset < this->lastArticleOffset) {
zim::Article currentArticle;
/* Get next non redirect article */
do {

View File

@ -39,7 +39,6 @@ namespace kiwix {
zim::size_type firstArticleOffset;
zim::size_type lastArticleOffset;
zim::size_type currentArticleOffset;
zim::Article currentArticle;
Xapian::WritableDatabase *writableDatabase;
Xapian::Stem stemmer;