]> git.lyx.org Git - features.git/commitdiff
Initialize pointer class member
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 1 Mar 2017 15:34:01 +0000 (16:34 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 1 Mar 2017 15:34:01 +0000 (16:34 +0100)
Found by coverity.

src/ErrorList.cpp

index 9b6fe240d261d238188f8401b61f6ce0140fe9c2..1613ce7e611259843d920b9c261f4af09d474cff 100644 (file)
@@ -32,7 +32,7 @@ ErrorItem::ErrorItem(docstring const & error_, docstring const & description_,
 
 
 ErrorItem::ErrorItem()
-       : start(TexRow::text_none), end(TexRow::text_none)
+       : start(TexRow::text_none), end(TexRow::text_none), buffer(0)
 {}