diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-11-26 09:41:38 (GMT) |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-11-26 09:43:38 (GMT) |
commit | 1e7b4e396ec3bacc1a769208b990c5e0450f0d3a (patch) | |
tree | 1bb9978a085098fe375603391fe9fb1038e4e038 /src/declarative/qml | |
parent | 2c0c3a213d44ad53023a507e19d18d1e5d359aec (diff) | |
download | Qt-1e7b4e396ec3bacc1a769208b990c5e0450f0d3a.zip Qt-1e7b4e396ec3bacc1a769208b990c5e0450f0d3a.tar.gz Qt-1e7b4e396ec3bacc1a769208b990c5e0450f0d3a.tar.bz2 |
Declarative: Fix compiler warnings (Linux/g++)
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Diffstat (limited to 'src/declarative/qml')
-rw-r--r-- | src/declarative/qml/qdeclarativeengine.cpp | 3 | ||||
-rw-r--r-- | src/declarative/qml/qdeclarativepropertycache.cpp | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeengine.cpp b/src/declarative/qml/qdeclarativeengine.cpp index 808ba68..19dfcea 100644 --- a/src/declarative/qml/qdeclarativeengine.cpp +++ b/src/declarative/qml/qdeclarativeengine.cpp @@ -2225,8 +2225,9 @@ bool QDeclarative_isFileCaseCorrect(const QString &fileName) if (a != c) return false; } +#else + Q_UNUSED(fileName) #endif - return true; } diff --git a/src/declarative/qml/qdeclarativepropertycache.cpp b/src/declarative/qml/qdeclarativepropertycache.cpp index 0adcdbd..af3d53f 100644 --- a/src/declarative/qml/qdeclarativepropertycache.cpp +++ b/src/declarative/qml/qdeclarativepropertycache.cpp @@ -321,6 +321,7 @@ void QDeclarativePropertyCache::update(QDeclarativeEngine *engine, const QMetaOb Q_ASSERT(engine); Q_ASSERT(metaObject); QDeclarativeEnginePrivate *enginePriv = QDeclarativeEnginePrivate::get(engine); + Q_UNUSED(enginePriv) clear(); |