summaryrefslogtreecommitdiff
path: root/src/pugixpath.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-11-08 15:56:33 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-11-08 15:56:33 +0000
commitf5389e364aa036d4237ee5c69098dc0e3ed513c6 (patch)
tree340121152bf51b42a2f5b6a4024666d791d30b7e /src/pugixpath.cpp
parenteefd73bc4e51184021cc84bd9adf3f600438d958 (diff)
XPath: Removed redundant code
git-svn-id: http://pugixml.googlecode.com/svn/trunk@227 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixpath.cpp')
-rw-r--r--src/pugixpath.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/pugixpath.cpp b/src/pugixpath.cpp
index e6f55c9..c1de757 100644
--- a/src/pugixpath.cpp
+++ b/src/pugixpath.cpp
@@ -2489,10 +2489,6 @@ namespace pugi
case axis_self:
step_do(ns, c, axis_to_type<axis_self>());
break;
-
- default:
- assert(!"Axis not implemented");
- return xpath_node_set();
}
ns.remove_duplicates();
@@ -2548,9 +2544,6 @@ namespace pugi
case ast_filter_posinv:
return false;
- case ast_variable:
- throw xpath_exception("Semantics error: variables are not supported");
-
case ast_string_constant:
case ast_number_constant:
case ast_func_last: