From 4ad97d404d30f9ec62649a7b8180f51b7eb4a759 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 9 Dec 2010 17:46:47 +0100 Subject: [PATCH] msxml3: Avoid using an initialized variable. --- dlls/msxml3/schema.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msxml3/schema.c b/dlls/msxml3/schema.c index e262f2e2ee..fa4208dd99 100644 --- a/dlls/msxml3/schema.c +++ b/dlls/msxml3/schema.c @@ -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)