summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmldom.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-04-30 11:51:22 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-04-30 11:52:12 (GMT)
commit052e6a8e82b707749be2ecbad1af60effecefebb (patch)
tree53ee18b87c30e4835414a2acc734905a78e64e98 /src/declarative/qml/qmldom.cpp
parent9442115ce46e87bb5a5939980cf900702dc4a87a (diff)
downloadQt-052e6a8e82b707749be2ecbad1af60effecefebb.zip
Qt-052e6a8e82b707749be2ecbad1af60effecefebb.tar.gz
Qt-052e6a8e82b707749be2ecbad1af60effecefebb.tar.bz2
Removed a fiew compilation warnings on MSVC
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;