summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmldom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmldom.cpp')
-rw-r--r--src/declarative/qml/qmldom.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qmldom.cpp b/src/declarative/qml/qmldom.cpp
index 4e8e1f7..937c244 100644
--- a/src/declarative/qml/qmldom.cpp
+++ b/src/declarative/qml/qmldom.cpp
@@ -150,6 +150,8 @@ int QmlDomDocument::version() const
*/
bool QmlDomDocument::load(QmlEngine *engine, const QByteArray &data)
{
+ Q_UNUSED(engine);
+
d->error = QString();
QmlScriptParser parser;