X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fxml%2FXPath.cpp;h=f2e98cc856f51e443304e13abdcc2e99f8c50d38;hp=77803d9d94423585cc90938b8f12f14a36b2f17b;hb=7ee10b64f4c116460ffef5784eb9ef87d3f2339c;hpb=1a1b334a0d2b023bd778f0a19665cc9017dbc94a diff --git a/source/xml/XPath.cpp b/source/xml/XPath.cpp index 77803d9..f2e98cc 100644 --- a/source/xml/XPath.cpp +++ b/source/xml/XPath.cpp @@ -67,7 +67,6 @@ throw(RuntimeException) { const xml::Node* xml::XPath::find(const Document& document, const char* expression, const int mode, const Exception::Mode::_v emode) throw(RuntimeException) { apply(document, expression, mode); - const xml::Node* result = NULL; Node::const_child_iterator ii = node_begin(); if(ii == node_end()) { @@ -238,6 +237,9 @@ throw(RuntimeException) { node->createText(decode(xmlNode->content)); return; + + default: + ; } xmlNode = xmlNode->next;