cppcheck Sept 18

Nicolas Le Cam niko.lecam at gmail.com
Sun Sep 20 08:58:46 CDT 2009


2009/9/19 Joris Huizer <joris_huizer at yahoo.com>
> [/home/cahrendt/wine-git/dlls/wineps.drv/init.c:270]: (error) Possible
> null pointer dereference: dmW - otherwise it is redundant to check if
> dmW is null at line 272
>
> That is a bug, sent a patch
>
> HTH,
>
> Joris
>
Joris,
As explained in a previous mail, there's no bug and the code is perfectly valid.
Even if you send a patch to please cppcheck, you should report it as
being a false positive.

Chris,
Please try to filter out those lines, they were already there in your
previous reports.

--
Nicolas Le Cam



More information about the wine-devel mailing list