Fix uninitialized variable

Fixes coverity issue 23446.
This commit is contained in:
Jean-Marc Lasgouttes 2015-02-20 15:53:19 +01:00
parent 4a439d6ac0
commit 01691cde49

View File

@ -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,