summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@nokia.com>2012-05-07 10:05:35 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-23 14:18:34 +0200
commit06906ce40d40bb95d82aa3ad78dd99e31581cb03 (patch)
tree6a650d58266ca8dd7620b4c412958016d61a91e9 /tests
parentc283d78a1d7709e5c95f0bceabbd5cf5bdc6494e (diff)
Fix warning about unused variable in tst_qvariant.
Change-Id: I9e713aa6a2033c5c4cd4b97bbd4ebb461d46962a Reviewed-by: Jonas Rabbe <jonas.rabbe@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/corelib/kernel/qvariant/tst_qvariant.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/corelib/kernel/qvariant/tst_qvariant.cpp b/tests/auto/corelib/kernel/qvariant/tst_qvariant.cpp
index 47392a35a5..57cbdc9c4a 100644
--- a/tests/auto/corelib/kernel/qvariant/tst_qvariant.cpp
+++ b/tests/auto/corelib/kernel/qvariant/tst_qvariant.cpp
@@ -380,6 +380,7 @@ struct MessageHandlerInvalidType
static void handler(QtMsgType type, const char *txt)
{
+ Q_UNUSED(type);
QString msg = QString::fromLatin1(txt);
// uint(-1) can be platform dependent so we check only beginning of the message.
ok = msg.startsWith("Trying to construct an instance of an invalid type, type id:");