From 6e1905dbf595722bb8905cbd20a9cff3f6732997 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov <borisk@apache.org> Date: Fri, 4 Jul 2008 12:18:26 +0000 Subject: [PATCH] Remove unused variable. git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@674027 13f79535-47bb-0310-9956-ffa450edef68 --- src/xercesc/xinclude/XIncludeUtils.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/xercesc/xinclude/XIncludeUtils.cpp b/src/xercesc/xinclude/XIncludeUtils.cpp index 633e77e7b..97f001906 100644 --- a/src/xercesc/xinclude/XIncludeUtils.cpp +++ b/src/xercesc/xinclude/XIncludeUtils.cpp @@ -52,7 +52,6 @@ XIncludeUtils::~XIncludeUtils(){ // --------------------------------------------------------------------------- bool XIncludeUtils::parseDOMNodeDoingXInclude(DOMNode *sourceNode, DOMDocument *parsedDocument, XMLEntityHandler* entityResolver){ - bool included = false; if (sourceNode) { /* create the list of child elements here, since it gets changed during the parse */ RefVectorOf<DOMNode> children(10, false); @@ -86,7 +85,7 @@ XIncludeUtils::parseDOMNodeDoingXInclude(DOMNode *sourceNode, DOMDocument *parse parseDOMNodeDoingXInclude(children.elementAt(i), parsedDocument, entityResolver); } } - return included; + return false; } // --------------------------------------------------------------------------- -- GitLab