]> git.lyx.org Git - features.git/commitdiff
Please coverity properly
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 2 Mar 2017 13:47:31 +0000 (14:47 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 2 Mar 2017 13:47:31 +0000 (14:47 +0100)
src/mathed/MathAutoCorrect.cpp

index 17431114b8c983e622e6890d3147b1f13d379dae..8f1d5b8f40d97fcce993c146bad9835358a0f9aa 100644 (file)
@@ -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;
        ///