mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Initialize properly TextEntry variable
Not sure it fixes a bug, but it should calm down coverity.
This commit is contained in:
parent
91d8a3982d
commit
a2425c7121
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user