[LyX/master] Fix unused paramaters warnings

Jean-Marc Lasgouttes lasgouttes at lyx.org
Wed Jan 6 10:57:18 UTC 2021


commit 28bca59dec39053254787acd8f6d6a5565eeb30f
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date:   Wed Jan 6 11:57:22 2021 +0100

    Fix unused paramaters warnings
---
 src/mathed/InsetMathEnsureMath.h |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/src/mathed/InsetMathEnsureMath.h b/src/mathed/InsetMathEnsureMath.h
index 35b05e8..d0a60d0 100644
--- a/src/mathed/InsetMathEnsureMath.h
+++ b/src/mathed/InsetMathEnsureMath.h
@@ -34,21 +34,20 @@ public:
 	///
 	void drawT(TextPainter & pi, int x, int y) const override;
 	///
-	void addRow(row_type row) override {}
+	void addRow(row_type) override {}
 	///
-	void delRow(row_type row) override {}
+	void delRow(row_type) override {}
 	///
-	void swapRow(row_type row) override {}
+	void swapRow(row_type) override {}
 	///
-	void addCol(col_type col) override {}
+	void addCol(col_type) override {}
 	///
-	void delCol(col_type col) override {}
+	void delCol(col_type) override {}
 	///
-	docstring eolString(row_type row, bool fragile, bool latex,
-	                    bool last_eoln) const override
+	docstring eolString(row_type, bool, bool, bool) const override
 	{ return docstring(); }
 	///
-	docstring eocString(col_type col, col_type lastcol) const override
+	docstring eocString(col_type, col_type) const override
 	{ return docstring(); }
 	///
 	void write(TeXMathStream & os) const override;


More information about the lyx-cvs mailing list