Fix uninitialized members in Language constructor

Fixes coverity issue 23412.
This commit is contained in:
Jean-Marc Lasgouttes 2015-03-05 12:17:52 +01:00
parent 4e2f16e84e
commit c925748126

View File

@ -32,7 +32,8 @@ class Lexer;
class Language {
public:
///
Language() : rightToLeft_(false) {}
Language() : rightToLeft_(false), encoding_(0), internal_enc_(false),
as_babel_options_(false) {}
/// LyX language name
std::string const lang() const { return lang_; }
/// Babel language name