[msi] initialize variable to placate static analyzers (try 2)

Dan Kegel dank at kegel.com
Thu Oct 13 08:26:15 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

Try 2: style change per Stefaniuc: initialize in declaration, don't
add comment explaining the initialization.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msi-placate-unused.patch
Type: text/x-patch
Size: 399 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20111013/e8721093/attachment.bin>

More information about the wine-patches mailing list