commit 91d8a3982d4acd9118217b4d30a5500e3bbd178e
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Wed Mar 1 17:02:20 2017 +0100
Initialize properly several InsetQuote members
Spotted by coverity
---
src/insets/InsetQuotes.cpp | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/insets/InsetQuotes.cpp b/src/insets/InsetQuotes.cpp
index 88f3979..7032a06 100644
--- a/src/insets/InsetQuotes.cpp
+++ b/src/insets/InsetQuotes.cpp
@@ -606,7 +606,10 @@ docstring const
InsetQuotesParams::getShortGuiLabel(docstring const string)
//
///////////////////////////////////////////////////////////////////////
-InsetQuotes::InsetQuotes(Buffer * buf, string const & str) : Inset(buf)
+InsetQuotes::InsetQuotes(Buffer * buf, string const & str)
+ : Inset(buf),
+ style_(InsetQuotesParams::EnglishQuotes),
side_(InsetQuotesParams::OpeningQuote),
+ pass_thru_(false)
{
if (buf) {
global_style_ = buf->masterBuffer()->params().quotes_style;