Logic issue in InsetTableCell::draw
Jürgen Spitzmüller
jspitzm at gmail.com
Tue Mar 4 04:37:57 UTC 2025
Am Sonntag, dem 02.03.2025 um 21:08 +0100 schrieb Jean-Marc Lasgouttes:
> This one is for Jürgen. Coverity states it very clearly: "Local
> variable
> change_drawn is assigned only once, to a constant value, making it
> effectively constant throughout its scope. If this is not the intent,
> examine the logic to see if there is a missing assignment that would
> make change_drawn not remain constant. Otherwise, declaring
> change_drawn as const will suppress this defect."
Yes, indeed. This is a leftover of the upstream code from InsetText.
--
Jürgen
More information about the lyx-devel
mailing list