From 78ae4993559006dce1ef61defb14967d3bf421a2 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 30 Aug 2016 17:06:13 +0200 Subject: [PATCH] Remove unused struct members Interestingly, cppcheck detected that they were not initialized (see 8a047a41), but not that they were unused. --- src/mathed/InsetMathGrid.cpp | 2 +- src/mathed/InsetMathGrid.h | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/mathed/InsetMathGrid.cpp b/src/mathed/InsetMathGrid.cpp index 403ee86d9d..9e41c9783a 100644 --- a/src/mathed/InsetMathGrid.cpp +++ b/src/mathed/InsetMathGrid.cpp @@ -82,7 +82,7 @@ static void resetGrid(InsetMathGrid & grid) InsetMathGrid::CellInfo::CellInfo() - : multi_(CELL_NORMAL), glue_(0), begin_(0), end_(0) + : multi_(CELL_NORMAL) {} diff --git a/src/mathed/InsetMathGrid.h b/src/mathed/InsetMathGrid.h index 426d941f19..de5b64507c 100644 --- a/src/mathed/InsetMathGrid.h +++ b/src/mathed/InsetMathGrid.h @@ -44,13 +44,6 @@ public: Multicolumn multi_; /// special multi colums alignment docstring align_; - /// these should be a per-cell property, but ok to have it here - /// for single-column grids like paragraphs - mutable int glue_; - /// - mutable pos_type begin_; - /// - mutable pos_type end_; }; /// additional per-row information -- 2.39.2