[Lazarus] Errors in win32winapi.inc and elsewhere spotted by compiler

Juha Manninen juha.manninen62 at gmail.com
Tue Mar 24 20:17:52 CET 2015

On Tue, Mar 24, 2015 at 8:11 PM, Dmitry Boyarintsev
<skalogryz.lists at gmail.com> 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.


More information about the Lazarus mailing list