msi: Fix an uninitialized variable causing random conformance test failures.
This commit is contained in:
parent
a1f11939ed
commit
c2b4629228
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue