commit 102e6340e522747a04c8b3f42834ff21ba6b225b
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date:   Thu Jun 9 16:51:07 2016 +0200

    Initialize InsetExteralParams::preview_mode in constructor
    
    The value PREVIEW_OFF is the same default as for external::Template.
    
    Found by Coverity

diff --git a/src/insets/InsetExternal.cpp b/src/insets/InsetExternal.cpp
index 097dc7d..b04ea89 100644
--- a/src/insets/InsetExternal.cpp
+++ b/src/insets/InsetExternal.cpp
@@ -116,6 +116,7 @@ support::FileName TempName::operator()() const
 
 InsetExternalParams::InsetExternalParams()
        : display(true),
+         preview_mode(PREVIEW_OFF),
          lyxscale(defaultLyxScale),
          draft(false)
 {

Reply via email to