[10/13] msxml3: Remove unneeded code

Michael Karcher wine at mkarcher.dialup.fu-berlin.de
Sat Oct 11 16:59:05 CDT 2008


xmlNewDocFragment has already set xmlNode->doc, no need to do
that again.
---
 dlls/msxml3/domdoc.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c
index 41cd856..c944623 100644
--- a/dlls/msxml3/domdoc.c
+++ b/dlls/msxml3/domdoc.c
@@ -890,8 +890,6 @@ static HRESULT WINAPI domdoc_createDocumentFragment(
     if(!xmlnode)
         return E_FAIL;
 
-    xmlnode->doc = get_doc( This );
-
     *docFrag = (IXMLDOMDocumentFragment*)create_doc_fragment(xmlnode);
 
     return S_OK;
-- 
1.5.6.5




More information about the wine-patches mailing list