summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/api')
-rw-r--r--src/xmlpatterns/api/qxmlschemavalidator.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/xmlpatterns/api/qxmlschemavalidator.cpp b/src/xmlpatterns/api/qxmlschemavalidator.cpp
index 8008d0b..c8db2b4 100644
--- a/src/xmlpatterns/api/qxmlschemavalidator.cpp
+++ b/src/xmlpatterns/api/qxmlschemavalidator.cpp
@@ -206,7 +206,6 @@ bool QXmlSchemaValidator::validate(QIODevice *source, const QUrl &documentUri) c
return false;
}
- QXmlNodeModelIndex index = item.asNode();
const QAbstractXmlNodeModel *model = item.asNode().model();
QPatternist::XsdValidatedXmlNodeModel *validatedModel = new QPatternist::XsdValidatedXmlNodeModel(model);