summaryrefslogtreecommitdiff
path: root/src/corelib/animation
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2011-02-20 20:26:50 +0100
committerThiago Macieira <thiago.macieira@nokia.com>2011-02-21 14:44:10 +0100
commit0dba7d0873a736420bb954dce423cb7933a5b3cc (patch)
treed16b639136af54a05eb2d3e7c84fa4ea5d8060bf /src/corelib/animation
parentd73112eaafb6e48278c765c9c84469ec8b74e973 (diff)
downloadqt4-tools-0dba7d0873a736420bb954dce423cb7933a5b3cc.tar.gz
Fix warning about unused parameter
Diffstat (limited to 'src/corelib/animation')
-rw-r--r--src/corelib/animation/qabstractanimation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/animation/qabstractanimation.cpp b/src/corelib/animation/qabstractanimation.cpp
index 7c16f7e806..aa83aacc90 100644
--- a/src/corelib/animation/qabstractanimation.cpp
+++ b/src/corelib/animation/qabstractanimation.cpp
@@ -491,6 +491,7 @@ QDefaultAnimationDriver::QDefaultAnimationDriver(QUnifiedTimer *timer)
void QDefaultAnimationDriver::timerEvent(QTimerEvent *e)
{
Q_ASSERT(e->timerId() == m_timer.timerId());
+ Q_UNUSED(e); // if the assertions are disabled
advance();
}