[LyX/master] Math: add a structure to hold font information.
Pavel Sanda
sanda at lyx.org
Tue Oct 29 15:13:25 UTC 2024
On Tue, Oct 29, 2024 at 01:26:18PM +0100, Thibaut Cuvelier wrote:
> > I think default switch clause with either return "" or some warning should
> > be here?
>
> If I add a default case, I get a warning, because I'm covering all cases. I
> can add a comment tonight.
I think it is safer to accept the warning than losing the default in case someone
adds something into the enum later or even gives parameter out of enum range.
There might be some hint for compiler to ignore this warning.
Pavel
More information about the lyx-devel
mailing list