[LyX/master] Remove an unused variable
Scott Kostyshak
skostysh at lyx.org
Fri Jun 12 19:19:28 UTC 2026
commit dbf54d6a4e5076501cd450e271b99f3b91fb9bee
Author: Scott Kostyshak <skostysh at lyx.org>
Date: Fri Jun 12 21:16:32 2026 +0200
Remove an unused variable
Addresses the following warning:
src/frontends/qt/GuiInputMethod.cpp:341:39: error: unused variable 'focus_style' [-Werror,-Wunused-variable]
341 | const QInputMethodEvent::Attribute * focus_style = nullptr;
| ^~~~~~~~~~~
Amends 1a01d6c0.
---
src/frontends/qt/GuiInputMethod.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/frontends/qt/GuiInputMethod.cpp b/src/frontends/qt/GuiInputMethod.cpp
index 61c42c688f..c9e02e4441 100644
--- a/src/frontends/qt/GuiInputMethod.cpp
+++ b/src/frontends/qt/GuiInputMethod.cpp
@@ -338,8 +338,6 @@ void GuiInputMethod::setPreeditStyle(
{
d->style_.segments_.clear();
- const QInputMethodEvent::Attribute * focus_style = nullptr;
-
#if defined(Q_OS_MACOS) && QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
d->initial_tf_entry_ = true;
#endif
More information about the lyx-cvs
mailing list