summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2011-02-20 19:26:50 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2011-02-21 13:44:10 (GMT)
commit0dba7d0873a736420bb954dce423cb7933a5b3cc (patch)
treed16b639136af54a05eb2d3e7c84fa4ea5d8060bf
parentd73112eaafb6e48278c765c9c84469ec8b74e973 (diff)
downloadQt-0dba7d0873a736420bb954dce423cb7933a5b3cc.zip
Qt-0dba7d0873a736420bb954dce423cb7933a5b3cc.tar.gz
Qt-0dba7d0873a736420bb954dce423cb7933a5b3cc.tar.bz2
Fix warning about unused parameter
-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 7c16f7e..aa83aac 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();
}