commit fd7aa2d62d88e4da746f7f91378d19fc9d11e62c
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date:   Fri Feb 20 16:37:06 2015 +0100

    Do not mix several names for the same variable
    
    This confuses coverity, but is probably harmless.
    
    Fxies coverity issue 23374

diff --git a/src/Encoding.cpp b/src/Encoding.cpp
index c4fb1d5..0d1d116 100644
--- a/src/Encoding.cpp
+++ b/src/Encoding.cpp
@@ -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;
 }

Reply via email to