]> git.lyx.org Git - features.git/commitdiff
Add comment to fix coverity #23438.
authorRichard Heck <rgheck@lyx.org>
Sun, 12 Jun 2016 03:47:54 +0000 (23:47 -0400)
committerRichard Heck <rgheck@lyx.org>
Sun, 12 Jun 2016 03:57:15 +0000 (23:57 -0400)
src/mathed/MathAutoCorrect.cpp

index 3e1405b3dc6b97f2647447e1993903aca4e7be7c..2af6c4b77da3bae5ad7a987301ff0d0bf41213e2 100644 (file)
@@ -35,6 +35,9 @@ namespace {
 class Correction {
 public:
        ///
+       /// \brief Correction
+       // it is fine not to initialize from2_
+       // coverity[UNINIT_CTOR]
        Correction() {}
        ///
        bool correct(MathAtom & at, char_type c) const;