Module: wine Branch: master Commit: b3a464a83559fc06cd7e15a0001bc278509efede URL: https://source.winehq.org/git/wine.git/?a=commit;h=b3a464a83559fc06cd7e15a00...
Author: Michael Stefaniuc mstefani@winehq.org Date: Thu Feb 21 20:35:34 2019 +0100
msxml3: Remove redundant not-NULL check (coccinellery).
Signed-off-by: Michael Stefaniuc mstefani@winehq.org Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/msxml3/selection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msxml3/selection.c b/dlls/msxml3/selection.c index b7c560a..31be4d8 100644 --- a/dlls/msxml3/selection.c +++ b/dlls/msxml3/selection.c @@ -831,7 +831,7 @@ HRESULT create_selection(xmlNodePtr node, xmlChar* query, IXMLDOMNodeList **out) TRACE("found %d matches\n", xmlXPathNodeSetGetLength(This->result->nodesetval));
cleanup: - if (This && FAILED(hr)) + if (FAILED(hr)) IXMLDOMSelection_Release( &This->IXMLDOMSelection_iface ); xmlXPathFreeContext(ctxt); return hr;