Do not mix several names for the same variable

This confuses coverity, but is probably harmless.

Fxies coverity issue 23374
This commit is contained in:
Jean-Marc Lasgouttes 2015-02-20 16:37:06 +01:00
parent d9c9c6b36d
commit fd7aa2d62d

View File

@ -166,11 +166,11 @@ void Encoding::init() const
}
}
lyxerr.enable();
CharSet::iterator it = encodable_.find(start_encodable_);
while (it != encodable_.end()) {
CharSet::iterator it = encodable.find(start_encodable);
while (it != encodable.end()) {
encodable.erase(it);
++start_encodable;
it = encodable_.find(start_encodable_);
it = encodable.find(start_encodable);
}
const_cast<Encoding *>(this)->complete_ = true;
}