From 6ece7dd09ac8897b70b062507d2bff69e5e4115a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Fri, 21 Aug 2020 17:22:03 +0200 Subject: Fix warnings in tst_moc Change-Id: I4cbc851e59febdc533c02fb4b95d2924348086b4 Reviewed-by: Alexandru Croitor --- tests/auto/tools/moc/no-keywords.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/auto/tools/moc/no-keywords.h') diff --git a/tests/auto/tools/moc/no-keywords.h b/tests/auto/tools/moc/no-keywords.h index ca77056503..cb0bca7a19 100644 --- a/tests/auto/tools/moc/no-keywords.h +++ b/tests/auto/tools/moc/no-keywords.h @@ -69,8 +69,8 @@ public Q_SLOTS: inline void mySlot() { mySignal(); } private: - int signals; - double slots; + Q_DECL_UNUSED_MEMBER int signals; + Q_DECL_UNUSED_MEMBER double slots; }; #define signals Q_SIGNALS -- cgit v1.2.3