From 01691cde49aac9579a1931d2de48e582c93a2363 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 20 Feb 2015 15:53:19 +0100 Subject: [PATCH] Fix uninitialized variable Fixes coverity issue 23446. --- src/Buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index bb85fb512c..3911edb41b 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -3584,7 +3584,7 @@ void Buffer::getSourceCode(odocstream & os, string const & format, setMathFlavor(runparams); xhtmlParagraphs(text(), *this, xs, runparams); } else if (runparams.flavor == OutputParams::TEXT) { - bool dummy; + bool dummy = false; // FIXME Handles only one paragraph, unlike the others. // Probably should have some routine with a signature like them. writePlaintextParagraph(*this, -- 2.39.2