summaryrefslogtreecommitdiff
path: root/xpointer.c
diff options
context:
space:
mode:
Diffstat (limited to 'xpointer.c')
-rw-r--r--xpointer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xpointer.c b/xpointer.c
index c8ebff3c..6a41f079 100644
--- a/xpointer.c
+++ b/xpointer.c
@@ -467,8 +467,6 @@ xmlXPtrNewRangeNodePoint(xmlNodePtr start, xmlXPathObjectPtr end) {
return(NULL);
if (end == NULL)
return(NULL);
- if (start->type != XPATH_POINT)
- return(NULL);
if (end->type != XPATH_POINT)
return(NULL);