summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/functions/qsequencefns.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/functions/qsequencefns.cpp')
-rw-r--r--src/xmlpatterns/functions/qsequencefns.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xmlpatterns/functions/qsequencefns.cpp b/src/xmlpatterns/functions/qsequencefns.cpp
index f6d5391..faa787e 100644
--- a/src/xmlpatterns/functions/qsequencefns.cpp
+++ b/src/xmlpatterns/functions/qsequencefns.cpp
@@ -246,8 +246,7 @@ Item::Iterator::Ptr SubsequenceFN::evaluateSequence(const DynamicContext::Ptr &c
if(length < 1 && length != -1)
return CommonValues::emptyIterator;
- else
- return Item::Iterator::Ptr(new SubsequenceIterator(it, startingLoc, length));
+ return Item::Iterator::Ptr(new SubsequenceIterator(it, startingLoc, length));
}
Item SubsequenceFN::evaluateSingleton(const DynamicContext::Ptr &context) const