Michael Karcher : msxml3: Remove unneeded code.

Alexandre Julliard julliard at winehq.org
Mon Oct 13 06:39:01 CDT 2008


Module: wine
Branch: master
Commit: 2cde9f52dae11aa1383b82f1209c3b17affbabae
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2cde9f52dae11aa1383b82f1209c3b17affbabae

Author: Michael Karcher <wine at mkarcher.dialup.fu-berlin.de>
Date:   Sat Oct 11 23:59:05 2008 +0200

msxml3: Remove unneeded code.

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;




More information about the wine-cvs mailing list