[msi] initialize variable to placate static analyzers

Dan Kegel dank at kegel.com
Thu Oct 13 02:20:46 CDT 2011


Avoids the spurious compiler warning

msi.c: In function 'MSI_ApplyPatchW':
msi.c:353:10: error: 'r' may be used uninitialized in this function

Hans says "It's compiler confusion but I'm fine with a patch that initializes
r with ERROR_FUNCTION_FAILED."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msi-placate-unused.patch
Type: text/x-patch
Size: 501 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20111013/3dcde4ae/attachment.bin>


More information about the wine-patches mailing list