summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/functions/qsequencefns_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/functions/qsequencefns_p.h')
-rw-r--r--src/xmlpatterns/functions/qsequencefns_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmlpatterns/functions/qsequencefns_p.h b/src/xmlpatterns/functions/qsequencefns_p.h
index a9a1765..e406b95 100644
--- a/src/xmlpatterns/functions/qsequencefns_p.h
+++ b/src/xmlpatterns/functions/qsequencefns_p.h
@@ -148,8 +148,8 @@ namespace QPatternist
{
// RVCT doesn't like using template parameter in trinary operator when the trinary operator result is
// passed directly into another constructor.
- bool tempAssert = (Id == IDExistsFN || Id == IDEmptyFN);
- Q_ASSERT(tempAssert);
+ Q_ASSERT(Id == IDExistsFN || Id == IDEmptyFN);
+
const Expression::Ptr me(FunctionCall::compress(context));