[06/12] msxml3: remove attach_xmldoc(This, NULL) calls

Michael Karcher wine at mkarcher.dialup.fu-berlin.de
Sat Nov 29 03:52:16 CST 2008


This->node should never be zero. Each IXMLDOMNode (and derived interfaces)
always represents a present libxml data object. There is no no-data
IXMLDOMNode, although there might be documents without a root element.

Anyhow, the attach_xmldoc(This, NULL) is unnecessary, as the document
will be set to something sensible in all code paths.
---
 dlls/msxml3/domdoc.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c826da84f15bbe4b9f59f1d7c6825fb4814358bf.diff
Type: text/x-patch
Size: 533 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081129/79111c7e/attachment.bin 


More information about the wine-patches mailing list