[LyX/master] Remove an unused variable
横田 宏治
koji.yokota at meisei-u.ac.jp
Sat Jun 13 00:34:16 UTC 2026
> 2026/06/13 4:21、Scott Kostyshak <skostysh at lyx.org>のメール:
>
> On Fri, Jun 12, 2026 at 07:19:28PM +0000, Scott Kostyshak wrote:
>> 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.
>
> Koji is this OK? If you were planning to use it in the future, there are
> ways to supress the warning without removing the variable.
>
> Scott
Ah, yes. Thank you.
Actually, the following chunk also needs to be modified, I’m going to fix it after that.
Koji
More information about the lyx-devel
mailing list