Re: [LyX/master] Remove an unused variable

Scott Kostyshak <[email protected]> Fri, 12 Jun 2026 21:21:28 +0200
Newsgroups gmane.editors.lyx.devel
Message-ID <aixcG6UqlplA-Kci@jimmy>
On Fri, Jun 12, 2026 at 07:19:28PM +0000, Scott Kostyshak wrote:
> commit dbf54d6a4e5076501cd450e271b99f3b91fb9bee
> Author: Scott Kostyshak <[email protected]>
> 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

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEMfkICpsJzYuNuGlOA4ZnarZHC+sFAmosXDcACgkQA4ZnarZH
C+sBFggAhDrgf4bt5trLOXvvdTUYOepFQ4ak7GtgS+HpKYEByXy8dYc8U2rR5aDZ
OYZlycODZGnVr2J2OP11hBxDN/frHId+fClN1iaC9VRljgGPcrVEq1IAngTfCUL0
DoNeNo4xwd/hbgPGcFyyZYcCoG5hq9izBuCccE2AxpCMj3zczfC/Emw1m5J1LZJb
lWd5mUqHTP2b4Bafel+Ah8fHZcErCJjpdqi81mMQTzETnmzCijoOqe4F0Fm5u3yZ
BEchPGToVJFT+U875N5zHbXN+Ffxd2WX0XDxgxIYmR4Lc4//5+PUWqaYsYt5OKoT
txnu0kt33zXVlr3TIg8uBDOVY1F9lg==
=tlbt
-----END PGP SIGNATURE-----