dbghelp: Fix uninitialized variable usage.

Thomas Faber thfabba at gmx.de
Wed Mar 28 06:37:30 CDT 2012


op2 is used without being read in these cases.
Because there is a default case which doesn't need the value, I'm not
putting the read above the switch (might break 48 C3 aka REX.W RET. Not
sure if that's valid, but it's allowed by the current code).

Spotted by 64-bit MSVC.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-dbghelp-Fix-uninitialized-variable-usage.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120328/ef0be096/attachment.ksh>

More information about the wine-patches mailing list