Initialize variable properly.

This fixes coverity issue 23503.
This commit is contained in:
Jean-Marc Lasgouttes 2015-02-20 16:47:27 +01:00
parent fd7aa2d62d
commit 2694fde47d

View File

@ -775,7 +775,7 @@ string Buffer::logName(LogType * type) const
// Also consider the master buffer log file
FileName masterfname = fname;
LogType mtype;
LogType mtype = latexlog;
if (masterBuffer() != this) {
string const mlogfile = masterBuffer()->logName(&mtype);
masterfname = FileName(mlogfile);