Initialize InsetExteralParams::preview_mode in constructor

The value PREVIEW_OFF is the same default as for external::Template.

Found by Coverity
This commit is contained in:
Jean-Marc Lasgouttes 2016-06-09 16:51:07 +02:00
parent e3d74ee935
commit 102e6340e5

View File

@ -116,6 +116,7 @@ support::FileName TempName::operator()() const
InsetExternalParams::InsetExternalParams() InsetExternalParams::InsetExternalParams()
: display(true), : display(true),
preview_mode(PREVIEW_OFF),
lyxscale(defaultLyxScale), lyxscale(defaultLyxScale),
draft(false) draft(false)
{ {