summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/schema/qxsdschemachecker_helper.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-10-27 17:16:23 +0200
committerQt by Nokia <qt-info@nokia.com>2011-11-30 00:56:49 +0100
commite28f376b7e22f6df3dbc9f5b7066205a222a52d2 (patch)
tree65735758182dbecc929d32f7c5fb094b11d1df0e /src/xmlpatterns/schema/qxsdschemachecker_helper.cpp
parent3857e14daf3787eb73a5c77e70b279d18764409f (diff)
downloadqtxmlpatterns-e28f376b7e22f6df3dbc9f5b7066205a222a52d2.tar.gz
Fix compile warnings about assigned/unused variables.
Change-Id: I75cbbea2777f2359fa4d86fd28057dd16bc02feb Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src/xmlpatterns/schema/qxsdschemachecker_helper.cpp')
-rw-r--r--src/xmlpatterns/schema/qxsdschemachecker_helper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmlpatterns/schema/qxsdschemachecker_helper.cpp b/src/xmlpatterns/schema/qxsdschemachecker_helper.cpp
index ee2e87c..89bd1ce 100644
--- a/src/xmlpatterns/schema/qxsdschemachecker_helper.cpp
+++ b/src/xmlpatterns/schema/qxsdschemachecker_helper.cpp
@@ -283,6 +283,7 @@ bool XsdSchemaChecker::elementSequenceAccepted(const XsdModelGroup::Ptr &sequenc
const XsdParticle::List particles(sequence->particles());
for (int i = 0; i < particles.count(); ++i) {
bool isValid = false;
+ Q_UNUSED(isValid)
if (particles.at(i)->term()->isElement()) {
const XsdElement::Ptr seqElement(particles.at(i)->term());