mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Initialize variable properly.
This fixes coverity issue 23503.
This commit is contained in:
parent
fd7aa2d62d
commit
2694fde47d
@ -775,7 +775,7 @@ string Buffer::logName(LogType * type) const
|
|||||||
|
|
||||||
// Also consider the master buffer log file
|
// Also consider the master buffer log file
|
||||||
FileName masterfname = fname;
|
FileName masterfname = fname;
|
||||||
LogType mtype;
|
LogType mtype = latexlog;
|
||||||
if (masterBuffer() != this) {
|
if (masterBuffer() != this) {
|
||||||
string const mlogfile = masterBuffer()->logName(&mtype);
|
string const mlogfile = masterBuffer()->logName(&mtype);
|
||||||
masterfname = FileName(mlogfile);
|
masterfname = FileName(mlogfile);
|
||||||
|
Loading…
Reference in New Issue
Block a user