diff options
author | Uwe L. Korn <uwelk@xhochy.com> | 2014-03-28 10:28:16 +0000 |
---|---|---|
committer | David Edmundson <kde@davidedmundson.co.uk> | 2014-03-28 11:38:23 +0100 |
commit | ff169cde751d0bb0309109514dd10b9eff7de4e3 (patch) | |
tree | 88d273930198712e95f94a400bb64e1a1e1babe9 /examples | |
parent | 7feb7ee8d2eb1986b5a1314bb064b39a79718c68 (diff) |
Add Q_UNUSED as Q_ASSERT is a no-op in release mode
Reviewed-by: David Edmundson
Diffstat (limited to 'examples')
-rw-r--r-- | examples/file-transfer/file-sender.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/file-transfer/file-sender.cpp b/examples/file-transfer/file-sender.cpp index a747af18..50d50c21 100644 --- a/examples/file-transfer/file-sender.cpp +++ b/examples/file-transfer/file-sender.cpp @@ -91,6 +91,7 @@ void FileSender::onAMReady(PendingOperation *op) PendingReady *pr = qobject_cast<PendingReady*>(op); Q_ASSERT(pr != NULL); + Q_UNUSED(pr); qDebug() << "AccountManager ready"; mAccount = mAM->accountForObjectPath( @@ -116,6 +117,7 @@ void FileSender::onAccountReady(PendingOperation *op) PendingReady *pr = qobject_cast<PendingReady*>(op); Q_ASSERT(pr != NULL); + Q_UNUSED(pr); qDebug() << "Account ready"; qDebug() << "Checking if account is online..."; |