aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlfile.cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@digia.com>2013-08-07 10:43:10 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-09 11:31:38 +0200
commita6d50d15f8b46ec8f4f22cbf61b76969de9d4f0b (patch)
treeecb34c5525bd29af6d9bca93d6a9333224e9fe62 /src/qml/qml/qqmlfile.cpp
parent9acb48a64ec6ca133f09e0757ff9f2359f55c983 (diff)
Remove unused local variables
Change-Id: I910c47cd404c0c5c1c324e956927966e834b488e Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'src/qml/qml/qqmlfile.cpp')
-rw-r--r--src/qml/qml/qqmlfile.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qml/qml/qqmlfile.cpp b/src/qml/qml/qqmlfile.cpp
index 4e76fbd2e5..aaf23626cf 100644
--- a/src/qml/qml/qqmlfile.cpp
+++ b/src/qml/qml/qqmlfile.cpp
@@ -326,8 +326,6 @@ void QQmlFile::load(QQmlEngine *engine, const QUrl &url)
{
Q_ASSERT(engine);
- QString scheme = url.scheme();
-
clear();
d->url = url;
@@ -717,7 +715,6 @@ bool QQmlFile::bundleDirectoryExists(const QString &dir, QQmlEngine *e)
return false;
QStringRef identifier(&dir, 9, index - 9);
- QStringRef path(&dir, index + 1, dir.length() - index - 1);
QQmlBundleData *bundle = QQmlEnginePrivate::get(e)->typeLoader.getBundle(identifier);