commit 4e2f16e84e7efb024621db0a5383ec473e97851f Author: Jean-Marc <lasgout...@lyx.org> Date: Wed Mar 4 23:21:34 2015 +0100
Fix uninitialized member in LaTexFont constructor Fixes coverity issue 23382 diff --git a/src/LaTeXFonts.h b/src/LaTeXFonts.h index a50a077..b5ab8c6 100644 --- a/src/LaTeXFonts.h +++ b/src/LaTeXFonts.h @@ -26,7 +26,7 @@ class Lexer; class LaTeXFont { public: /// TeX font - LaTeXFont() : switchdefault_(false) {} + LaTeXFont() : osfdefault_(false), switchdefault_(false) {} /// The font name docstring const & name() { return name_; } /// The name to appear in the document dialog