[LyX/master] Remove unused local variable

Stephan Witt switt at lyx.org
Wed Dec 29 14:05:05 UTC 2021


commit f22c5c3c3f4c2cbb9fc852481d60b4f542ac6742
Author: Stephan Witt <switt at lyx.org>
Date:   Wed Dec 29 15:32:59 2021 +0100

    Remove unused local variable
---
 src/frontends/qt/GuiView.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/frontends/qt/GuiView.cpp b/src/frontends/qt/GuiView.cpp
index cce87e5..d59e64c 100644
--- a/src/frontends/qt/GuiView.cpp
+++ b/src/frontends/qt/GuiView.cpp
@@ -207,7 +207,6 @@ public:
 		QStringList titlesegs = htext.split('\n');
 		int wline = 0;
 		int hline = fm.maxHeight();
-		QStringList::const_iterator sit;
 		for (QString const & seg : titlesegs) {
 			if (fm.width(seg) > wline)
 				wline = fm.width(seg);


More information about the lyx-cvs mailing list