From: Jean-Marc Lasgouttes Date: Thu, 2 Mar 2017 13:47:31 +0000 (+0100) Subject: Please coverity properly X-Git-Tag: 2.3.0alpha1~288 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=5ad8815a5173fa30376b6a72bea420cfcd185c40;p=features.git Please coverity properly --- diff --git a/src/mathed/MathAutoCorrect.cpp b/src/mathed/MathAutoCorrect.cpp index 17431114b8..8f1d5b8f40 100644 --- a/src/mathed/MathAutoCorrect.cpp +++ b/src/mathed/MathAutoCorrect.cpp @@ -36,9 +36,7 @@ class Correction { public: /// /// \brief Correction - // it is fine not to initialize from2_ - // coverity[UNINIT_CTOR] - Correction() {} + Correction() : from2_(0) {} /// bool correct(MathAtom & at, char_type c) const; ///