Compilation warning on current master

Jürgen Spitzmüller jspitzm at gmail.com
Sun May 4 10:20:57 UTC 2025


Am Sonntag, dem 04.05.2025 um 12:13 +0200 schrieb Scott Kostyshak:
> I now get (with -Werror):
> 
> /home/scott/lyxbuilds/master-
> master/repo/src/insets/InsetRef.cpp:1005:55: error: left operand of
> comma operator has no effect [-Werror,-Wunused-value]
>  1005 |                 || (cmd == "formatted" &&
> !(buffer().masterParams().xref_package, "prettyref"))
>       |                                            
> ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~

Fixed.

-- 
Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 508 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20250504/2bb29a7c/attachment.sig>


More information about the lyx-devel mailing list