Commit f702885e authored by Alexandre Julliard's avatar Alexandre Julliard

shlwapi/tests: Don't test uninitialized parts of the variant.

parent cd4a7c31
......@@ -482,7 +482,7 @@ static void test_SHPackDispParams(void)
ok(params.rgdispidNamedArgs == NULL, "params.rgdispidNamedArgs = %p\n", params.rgdispidNamedArgs);
ok(params.rgvarg == vars, "params.rgvarg = %p\n", params.rgvarg);
ok(V_VT(vars) == VT_I4, "V_VT(var) = %d\n", V_VT(vars));
ok(V_DISPATCH(vars) == (void*)0xdeadbeef, "failed\n");
ok(V_I4(vars) == 0xdeadbeef, "failed %x\n", V_I4(vars));
memset(&params, 0xc0, sizeof(params));
hres = pSHPackDispParams(&params, NULL, 0, 0);
......
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