summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/data/qderivedinteger_p.h
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@digia.com>2013-09-20 15:05:49 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-24 11:43:53 +0200
commite7a51b138772cb453555d27f44e6a2c0e79e799c (patch)
tree0af1bb103b250f8349d8fee64db72b49995c6c47 /src/xmlpatterns/data/qderivedinteger_p.h
parent6f94c6960de379d7df867019f418d3a07f73cc5b (diff)
downloadqtxmlpatterns-e7a51b138772cb453555d27f44e6a2c0e79e799c.tar.gz
Fix MSVC2010 warnings.v5.2.0-alpha1
Change-Id: Ic586e7d306729f26859411b17c79d36320f487e7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
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)