]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.cpp
Try another way to signal a false positive to coverity
[lyx.git] / src / Buffer.cpp
index a9b4c05e7234d78397b1d5793538e0b061d64315..86da237eec9bb3736dfa9f573b0064a287b7884f 100644 (file)
@@ -4645,7 +4645,7 @@ Buffer::ReadStatus Buffer::loadThisLyXFile(FileName const & fn)
 void Buffer::bufferErrors(TeXErrors const & terr, ErrorList & errorList) const
 {
        for (auto const & err : terr) {
-               TexRow::TextEntry start, end = TexRow::text_none;
+               TexRow::TextEntry start = TexRow::text_none, end = TexRow::text_none;
                int errorRow = err.error_in_line;
                Buffer const * buf = 0;
                Impl const * p = d;