mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-04 20:17:38 +00:00
mshtml/tests: Fix VariantClear on uninitialized variable.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
This commit is contained in:
parent
79a2fb719f
commit
3545c35d29
|
@ -3672,6 +3672,8 @@ static LONG test_attr_collection_attr(IDispatch *attr, LONG i)
|
|||
VARIANT val;
|
||||
BSTR name;
|
||||
|
||||
V_VT(&val) = VT_EMPTY;
|
||||
|
||||
hres = IDispatch_QueryInterface(attr, &IID_IHTMLDOMAttribute, (void**)&dom_attr);
|
||||
ok(hres == S_OK, "%ld) QueryInterface failed: %08lx\n", i, hres);
|
||||
|
||||
|
|
Loading…
Reference in a new issue