Commit c2b46292 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

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

parent a1f11939
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment