On Tue, Mar 24, 2015 at 8:11 PM, Dmitry Boyarintsev <[email protected]> wrote: >> HasAlpha := (Windows.GetObject(bmp, SizeOf(WinBmp), @WinBmp) <> 0) > > According to the specs, there's no need for initialization.
Right, I missed that one. Now it is clear when I look at it. I got plenty or warning with fpc -Oodfa. Some of them were false positives but many of them were real errors. I removed the ToDo item in r48485. Juha -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
