msxml3/tests: Merge two adjacent if blocks with identical condition (PVS-Studio).

This commit is contained in:
Michael Stefaniuc 2015-03-06 10:23:15 +01:00 committed by Alexandre Julliard
parent 8a755f37d8
commit 7c4d45c00b

View file

@ -2235,10 +2235,9 @@ static void test_domnode( void )
ok( tag != NULL, "tag was null\n");
ok( !lstrcmpW( tag, szSSearch ), "incorrect tag name\n");
SysFreeString( tag );
}
if (element)
IXMLDOMElement_Release( element );
}
ok(IXMLDOMDocument_Release( doc ) == 0, "document is not destroyed\n");
free_bstrs();