msi: Fix use of uninitialized variable (Coverity) (Try 2)
Paul Vriens
paul.vriens.wine at gmail.com
Sun Jun 24 02:54:34 CDT 2007
Andrew Talbot wrote:
> James Hawkins wrote:
>
>> Please don't check env for NULL; RegCloseKey will just fail harmlessly
>> if env is NULL. We spent a lot of time removing such checks.
>>
>
> OK, I shall re-post my first effort as "Try 3".
>
But then why don't you just set env to NULL and leave the rest as is. The only
thing that will change is the lasterror probably if you don't check for NULL.
Cheers,
Paul.
More information about the wine-devel
mailing list