Commit 0ad76226 authored by Alexandre Julliard's avatar Alexandre Julliard

wsdapi/tests: Remove tests that use uninitialized variables.

parent 8951c03e
......@@ -117,12 +117,6 @@ static void AddChild_tests(void)
hr = WSDXMLAddChild(NULL, NULL);
ok(hr == E_INVALIDARG, "WSDXMLAddChild failed with %08x\n", hr);
hr = WSDXMLAddChild(parent, NULL);
ok(hr == E_INVALIDARG, "WSDXMLAddChild failed with %08x\n", hr);
hr = WSDXMLAddChild(NULL, child1);
ok(hr == E_INVALIDARG, "WSDXMLAddChild failed with %08x\n", hr);
/* Populate structures */
ns.Uri = uri;
ns.PreferredPrefix = prefix;
......@@ -208,12 +202,6 @@ static void AddSibling_tests(void)
hr = WSDXMLAddSibling(NULL, NULL);
ok(hr == E_INVALIDARG, "WSDXMLAddSibling failed with %08x\n", hr);
hr = WSDXMLAddSibling(child1, NULL);
ok(hr == E_INVALIDARG, "WSDXMLAddSibling failed with %08x\n", hr);
hr = WSDXMLAddSibling(NULL, child2);
ok(hr == E_INVALIDARG, "WSDXMLAddSibling failed with %08x\n", hr);
/* Populate structures */
ns.Uri = uri;
ns.PreferredPrefix = prefix;
......
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