From c70b046648522c8a899fc1fa6e4d4a5924206313 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Tue, 14 Jan 2014 12:31:39 +0100 Subject: Fix some compiler warnings in tests and examples. Change-Id: Ia739c995005635caf6fd0bd4e495ed8567350e83 Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com> --- tests/auto/qml/qqmlcontext/tst_qqmlcontext.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/auto/qml/qqmlcontext/tst_qqmlcontext.cpp') diff --git a/tests/auto/qml/qqmlcontext/tst_qqmlcontext.cpp b/tests/auto/qml/qqmlcontext/tst_qqmlcontext.cpp index 4f21231184..553663ac22 100644 --- a/tests/auto/qml/qqmlcontext/tst_qqmlcontext.cpp +++ b/tests/auto/qml/qqmlcontext/tst_qqmlcontext.cpp @@ -676,6 +676,7 @@ void tst_qqmlcontext::qobjectDerived() QQmlContext context(engine.rootContext()); QObject *o1 = component.create(&context); + Q_UNUSED(o1); QCOMPARE(command.count, 2); } -- cgit v1.2.3