[4/5] msxml3: Remove unneeded xmlInitParser call

Nikolay Sivov nsivov at codeweavers.com
Mon Jul 9 00:08:11 CDT 2012


Remove unneeded xmlInitParser call
-------------- next part --------------
>From 5fb0a980239ce73fe1a76fe5ff3adca496655f37 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <nsivov at codeweavers.com>
Date: Sun, 8 Jul 2012 22:53:20 +0400
Subject: [PATCH 4/5] Remove unneeded xmlInitParser call

This was added as a part of xmlSAXParseMemoryWithData unrolling,
but it's redundant cause we do initialization on process attach.
---
 dlls/msxml3/domdoc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c
index 5711daf..cbbebf2 100644
--- a/dlls/msxml3/domdoc.c
+++ b/dlls/msxml3/domdoc.c
@@ -488,7 +488,6 @@ static xmlDocPtr doparse(domdoc* This, char const* ptr, int len, xmlCharEncoding
         xmlSAX2EndElementNs,            /* endElementNs */
         sax_serror                      /* serror */
     };
-    xmlInitParser();
 
     pctx = xmlCreateMemoryParserCtxt(ptr, len);
     if (!pctx)
-- 
1.5.6.5




More information about the wine-patches mailing list