From: Jean-Marc Lasgouttes Date: Tue, 30 Aug 2016 15:06:13 +0000 (+0200) Subject: Remove unused struct members X-Git-Tag: 2.3.0alpha1~1087 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=78ae4993559006dce1ef61defb14967d3bf421a2;p=features.git Remove unused struct members Interestingly, cppcheck detected that they were not initialized (see 8a047a41), but not that they were unused. --- 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