[LyX/master] InsetMathFont: harden the new switches against unexpected values.
Thibaut Cuvelier
dourouc05 at gmail.com
Fri Nov 1 17:02:02 UTC 2024
f6405ef8 should deal with that, thanks for the comment!
Thibaut Cuvelier
On Fri, 1 Nov 2024 at 15:44, Scott Kostyshak <skostysh at lyx.org> wrote:
> On Wed, Oct 30, 2024 at 12:59:14AM GMT, Thibaut Cuvelier wrote:
> > commit 110e654b67cdc7399defa38b32810cf9e78ff95b
> > Author: Thibaut Cuvelier <tcuvelier at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20241101/9a96a7bb/attachment.htm>
More information about the lyx-devel
mailing list