commit 78ae4993559006dce1ef61defb14967d3bf421a2
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Tue Aug 30 17:06:13 2016 +0200
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 insertions(+), 8 deletions(-)
diff --git a/src/mathed/InsetMathGrid.cpp b/src/mathed/InsetMathGrid.cpp
index 403ee86..9e41c97 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 426d941..de5b645 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