Commit d38dc023 authored by Dan Kegel's avatar Dan Kegel Committed by Alexandre Julliard

msxml/tests: Use VariantInit, not VariantClear, to initialize new variants.

parent a302ec64
......@@ -1934,7 +1934,7 @@ static void test_XPath(void)
ole_expect(IXMLDOMDocument_selectNodes(doc, _bstr_("root//foo:c"), &list), E_FAIL);
VariantClear(&var);
VariantInit(&var);
todo_wine ole_check(IXMLDOMDocument2_getProperty(doc, _bstr_("SelectionNamespaces"), &var));
todo_wine expect_eq(V_VT(&var), VT_BSTR, int, "%x");
if (V_VT(&var) == VT_BSTR)
......
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