XPath: Removed redundant code
git-svn-id: http://pugixml.googlecode.com/svn/trunk@227 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
eefd73bc4e
commit
f5389e364a
@ -2489,10 +2489,6 @@ namespace pugi
|
|||||||
case axis_self:
|
case axis_self:
|
||||||
step_do(ns, c, axis_to_type<axis_self>());
|
step_do(ns, c, axis_to_type<axis_self>());
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
|
||||||
assert(!"Axis not implemented");
|
|
||||||
return xpath_node_set();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ns.remove_duplicates();
|
ns.remove_duplicates();
|
||||||
@ -2548,9 +2544,6 @@ namespace pugi
|
|||||||
case ast_filter_posinv:
|
case ast_filter_posinv:
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
case ast_variable:
|
|
||||||
throw xpath_exception("Semantics error: variables are not supported");
|
|
||||||
|
|
||||||
case ast_string_constant:
|
case ast_string_constant:
|
||||||
case ast_number_constant:
|
case ast_number_constant:
|
||||||
case ast_func_last:
|
case ast_func_last:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user