mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
shlwapi/tests: Don't test uninitialized parts of the variant.
This commit is contained in:
parent
cd4a7c3146
commit
f702885e63
1 changed files with 1 additions and 1 deletions
|
@ -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(¶ms, 0xc0, sizeof(params));
|
||||
hres = pSHPackDispParams(¶ms, NULL, 0, 0);
|
||||
|
|
Loading…
Reference in a new issue