msxml3: Initialise output interface pointers to NULL in xmlnodelist_QueryInterface and xmlnodelist_nextNode.

This commit is contained in:
Robert Shearman 2006-06-12 01:34:17 +01:00 committed by Alexandre Julliard
parent 276e223bcb
commit 6dd935bc33
1 changed files with 3 additions and 0 deletions

View File

@ -197,6 +197,7 @@ static HRESULT WINAPI xmlnodelist_QueryInterface(
else else
{ {
FIXME("interface %s not implemented\n", debugstr_guid(riid)); FIXME("interface %s not implemented\n", debugstr_guid(riid));
*ppvObject = NULL;
return E_NOINTERFACE; return E_NOINTERFACE;
} }
@ -360,6 +361,8 @@ static HRESULT WINAPI xmlnodelist_nextNode(
TRACE("%p %p\n", This, nextItem ); TRACE("%p %p\n", This, nextItem );
*nextItem = NULL;
if(This->enum_children) if(This->enum_children)
top_level_node = &This->top_level_node; top_level_node = &This->top_level_node;