f6405ef8 should deal with that, thanks for the comment!

Thibaut Cuvelier


On Fri, 1 Nov 2024 at 15:44, Scott Kostyshak <skost...@lyx.org> wrote:

> On Wed, Oct 30, 2024 at 12:59:14AM GMT, Thibaut Cuvelier wrote:
> > commit 110e654b67cdc7399defa38b32810cf9e78ff95b
> > Author: Thibaut Cuvelier <tcuvel...@lyx.org>
> > Date:   Wed Oct 30 01:55:22 2024 +0100
> >
> >     InsetMathFont: harden the new switches against unexpected values.
> > ---
>
> I now get the following:
>
> /home/scott/lyxbuilds/master-master/repo/src/mathed/InsetMathFont.cpp:133:60:
> error: overlapping comparisons always evaluate to true
> [-Werror,-Wtautological-overlap-compare]
>   133 |                 if (span_class.empty() && (family_ !=
> MATH_NORMAL_FAMILY || family_ != MATH_DOUBLE_STRUCK_FAMILY)) {
>       |
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Scott
>
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to