summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-09-30 13:55:29 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-10-01 08:29:27 (GMT)
commitd6cb9ed0b44118c7f9045559a300ea14985f0103 (patch)
tree998dc714d8efaa4e2b5e3a19acac441546c2259f /src/xmlpatterns
parent9c0b1db38f7ad8b6b0d51410033854be72146e74 (diff)
downloadQt-d6cb9ed0b44118c7f9045559a300ea14985f0103.zip
Qt-d6cb9ed0b44118c7f9045559a300ea14985f0103.tar.gz
Qt-d6cb9ed0b44118c7f9045559a300ea14985f0103.tar.bz2
Fix warnings on mingw
Reviewed-by: trust me
Diffstat (limited to 'src/xmlpatterns')
-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));