summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/data/qderivedinteger_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/data/qderivedinteger_p.h')
-rw-r--r--src/xmlpatterns/data/qderivedinteger_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xmlpatterns/data/qderivedinteger_p.h b/src/xmlpatterns/data/qderivedinteger_p.h
index 621f061..241abac 100644
--- a/src/xmlpatterns/data/qderivedinteger_p.h
+++ b/src/xmlpatterns/data/qderivedinteger_p.h
@@ -393,6 +393,8 @@ namespace QPatternist
* reason get a linker error with GCC. Using this temporary
* variable solves it. */
const StorageType minimum = minInclusive;
+ // MSVC2010 complains that this is initialised but not referenced.
+ Q_UNUSED(minimum)
if((limitsUsage & LimitUpwards) &&
num > maxInclusive)