msxml: tests/domdoc.c: use VariantInit, not VariantClear, to initialize new variants

Dan Kegel dank at kegel.com
Thu Jun 5 19:07:40 CDT 2008


Because It's The Right Thing To Do.
Fixes:
Conditional jump or move depends on uninitialised value(s)
   at VARIANT_ValidateType (variant.c:545)
   by VariantClear (variant.c:598)
   by test_XPath (domdoc.c:1937)
   by func_domdoc (domdoc.c:3332)
 Uninitialised value was created by a stack allocation
   at test_XPath (domdoc.c:1834)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msxml3-domdoc.patch
Type: text/x-diff
Size: 545 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080605/cf8a1b6a/attachment.patch 


More information about the wine-patches mailing list