Mike McCormack : msi:
Fix an uninitialized variable causing random conformance test failures.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Oct 20 04:45:45 CDT 2006
Module: wine
Branch: master
Commit: c2b4629228b74c9d12f54ca689538989e35e3ac8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c2b4629228b74c9d12f54ca689538989e35e3ac8
Author: Mike McCormack <mike at codeweavers.com>
Date: Fri Oct 20 23:24:08 2006 +0900
msi: Fix an uninitialized variable causing random conformance test failures.
---
dlls/msi/tests/suminfo.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/tests/suminfo.c b/dlls/msi/tests/suminfo.c
index ca61e76..d8825b9 100644
--- a/dlls/msi/tests/suminfo.c
+++ b/dlls/msi/tests/suminfo.c
@@ -397,6 +397,8 @@ static void test_summary_binary(void)
* We can still read its type though...?
*/
sz = sizeof sval;
+ sval[0] = 0;
+ type = 0;
r = MsiSummaryInfoGetProperty(hsuminfo, PID_LASTPRINTED, &type, NULL, NULL, sval, &sz);
ok(r == ERROR_SUCCESS, "MsiSummaryInfoGetProperty failed\n");
ok( !strcmp(sval, ""), "value incorrect\n");
More information about the wine-cvs
mailing list