mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 13:04:58 +00:00
Fix uninitialized variable
Fixes coverity issue 23446.
This commit is contained in:
parent
4a439d6ac0
commit
01691cde49
@ -3584,7 +3584,7 @@ void Buffer::getSourceCode(odocstream & os, string const & format,
|
|||||||
setMathFlavor(runparams);
|
setMathFlavor(runparams);
|
||||||
xhtmlParagraphs(text(), *this, xs, runparams);
|
xhtmlParagraphs(text(), *this, xs, runparams);
|
||||||
} else if (runparams.flavor == OutputParams::TEXT) {
|
} else if (runparams.flavor == OutputParams::TEXT) {
|
||||||
bool dummy;
|
bool dummy = false;
|
||||||
// FIXME Handles only one paragraph, unlike the others.
|
// FIXME Handles only one paragraph, unlike the others.
|
||||||
// Probably should have some routine with a signature like them.
|
// Probably should have some routine with a signature like them.
|
||||||
writePlaintextParagraph(*this,
|
writePlaintextParagraph(*this,
|
||||||
|
Loading…
Reference in New Issue
Block a user