Re: Cppcheck report in vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
Ivan Timofeev wrote
On 20.10.2012 22:23, julien2412 wrote:
> [gdi/salnativewidgets-gtk.cxx:3452] -> [gdi/salnativewidgets-gtk.cxx:3462]:
> (performance) Variable 'eState' is reassigned a value before the old one has
> been used.
> Is the line 3452 could just be removed or should this part be a little
I think the line 3452 can be removed. GTK_STATE_ACTIVE is for "pressed"
controls, i.e. CTRL_STATE_PRESSED, and the Slider control does not even
use this CTRL_STATE_PRESSED flag.