From ab40fe6f054487601074c81828f0dbf069b813ea Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 9 Jun 2016 17:23:27 +0200 Subject: [PATCH] Initialize properly InsetTabular members in constructor Found by Coverity --- src/insets/InsetTabular.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index c88888aa79..b5344df2a4 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -3474,7 +3474,8 @@ InsetTabular::InsetTabular(Buffer * buf, row_type rows, InsetTabular::InsetTabular(InsetTabular const & tab) - : Inset(tab), tabular(tab.tabular) + : Inset(tab), tabular(tab.tabular), + first_visible_cell_(0), offset_valign_(0), rowselect_(false), colselect_(false) { } -- 2.39.5