msxml3: Avoid using an initialized variable.

This commit is contained in:
Alexandre Julliard 2010-12-09 17:46:47 +01:00
parent f89d80c276
commit 4ad97d404d

View File

@ -767,7 +767,7 @@ static inline schema_cache* impl_from_IXMLDOMSchemaCollection2(IXMLDOMSchemaColl
static inline SCHEMA_TYPE schema_type_from_xmlDocPtr(xmlDocPtr schema)
{
xmlNodePtr root;
xmlNodePtr root = NULL;
if (schema)
root = xmlDocGetRootElement(schema);
if (root && root->ns)