quartz: check hr so we are not incrementing a NULL (coverity 106)

Dmitry Timoshkov dmitry at codeweavers.com
Mon Oct 6 07:41:00 CDT 2008


"Aric Stewart" <aric at codeweavers.com> wrote:

> -    wszPatternString++; /* skip ',' */
> +    if (hr == S_OK)
> +        wszPatternString++; /* skip ',' */
> 
>     if (hr == S_OK)
>     {

Why not just move it into the below block?

-- 
Dmitry.



More information about the wine-devel mailing list