msi: Fix an uninitialized variable causing random conformance test failures.

This commit is contained in:
Mike McCormack 2006-10-20 23:24:08 +09:00 committed by Alexandre Julliard
parent a1f11939ed
commit c2b4629228
1 changed files with 2 additions and 0 deletions

View File

@ -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");