diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-05-20 05:58:39 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-05-20 05:58:39 (GMT) |
commit | 08a0ee7946d7c6575a32919cb147cdc34af7e3bc (patch) | |
tree | 34e4348466423163609cdc6a4bef4053ff22570e /src | |
parent | 33f59e150e871a1a090f478bfdfa22dc175a9d6e (diff) | |
download | Qt-08a0ee7946d7c6575a32919cb147cdc34af7e3bc.zip Qt-08a0ee7946d7c6575a32919cb147cdc34af7e3bc.tar.gz Qt-08a0ee7946d7c6575a32919cb147cdc34af7e3bc.tar.bz2 |
Remove warnings.
Task-number: QTBUG-10816
Diffstat (limited to 'src')
-rw-r--r-- | src/declarative/qml/qdeclarativeinclude.cpp | 2 | ||||
-rw-r--r-- | src/declarative/util/qdeclarativeanimation.cpp | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/declarative/qml/qdeclarativeinclude.cpp b/src/declarative/qml/qdeclarativeinclude.cpp index e37b68b..4cde54b 100644 --- a/src/declarative/qml/qdeclarativeinclude.cpp +++ b/src/declarative/qml/qdeclarativeinclude.cpp @@ -259,8 +259,6 @@ QScriptValue QDeclarativeInclude::worker_include(QScriptContext *ctxt, QScriptEn if (ctxt->argumentCount() == 0) return engine->undefinedValue(); - QDeclarativeEnginePrivate *ep = QDeclarativeEnginePrivate::get(engine); - QString urlString = ctxt->argument(0).toString(); QUrl url(ctxt->argument(0).toString()); if (url.isRelative()) { diff --git a/src/declarative/util/qdeclarativeanimation.cpp b/src/declarative/util/qdeclarativeanimation.cpp index 1365cd7..de1c0cb 100644 --- a/src/declarative/util/qdeclarativeanimation.cpp +++ b/src/declarative/util/qdeclarativeanimation.cpp @@ -2543,7 +2543,6 @@ void QDeclarativeParentAnimation::transition(QDeclarativeStateActions &actions, QDeclarativeAction &yAction = pc->yIsSet() && i < actions.size()-1 ? actions[++i] : dummyAction; QDeclarativeAction &sAction = pc->scaleIsSet() && i < actions.size()-1 ? actions[++i] : dummyAction; QDeclarativeAction &rAction = pc->rotationIsSet() && i < actions.size()-1 ? actions[++i] : dummyAction; - bool forward = (direction == QDeclarativeAbstractAnimation::Forward); QDeclarativeItem *target = pc->object(); QDeclarativeItem *targetParent = action.reverseEvent ? pc->originalParent() : pc->parent(); |