summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/api/qxmlschema_p.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/api/qxmlschema_p.cpp')
-rw-r--r--src/xmlpatterns/api/qxmlschema_p.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmlpatterns/api/qxmlschema_p.cpp b/src/xmlpatterns/api/qxmlschema_p.cpp
index 8ebde03..c29a55f 100644
--- a/src/xmlpatterns/api/qxmlschema_p.cpp
+++ b/src/xmlpatterns/api/qxmlschema_p.cpp
@@ -145,6 +145,7 @@ void QXmlSchemaPrivate::load(QIODevice *source, const QUrl &documentUri, const Q
m_schemaIsValid = true;
} catch (QPatternist::Exception exception) {
+ Q_UNUSED(exception);
m_schemaIsValid = false;
}
}