commit 01691cde49aac9579a1931d2de48e582c93a2363
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date:   Fri Feb 20 15:53:19 2015 +0100

    Fix uninitialized variable
    
    Fixes coverity issue 23446.

diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index bb85fb5..3911edb 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,

Reply via email to