summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-03-21 13:51:51 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-23 01:55:58 +0100
commitcaffabc79833c6378365fabd589187224fb1c0cc (patch)
treedb5c7dcff69167b44a26d43d811044d7c213be3c /src/corelib/kernel
parent1622dca213573ea7926d0aada2635a2dfad1fe35 (diff)
Mark Q_UNUSED the private members that aren't used
Apple Clang 4.2 has a new warning, letting you know when a private member isn't used by any member function (and, I guess, if the class has no friends): private field 'd' is not used [-Werror,-Wunused-private-field] Qt has a few of those for future expansion. It's not an error for us. Change-Id: Id2edb1159589572f97a07f93181c9c96c5dd983c Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r--src/corelib/kernel/qabstractnativeeventfilter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/kernel/qabstractnativeeventfilter.cpp b/src/corelib/kernel/qabstractnativeeventfilter.cpp
index ad5e7f888c..b38e225f0d 100644
--- a/src/corelib/kernel/qabstractnativeeventfilter.cpp
+++ b/src/corelib/kernel/qabstractnativeeventfilter.cpp
@@ -61,6 +61,7 @@ QT_BEGIN_NAMESPACE
*/
QAbstractNativeEventFilter::QAbstractNativeEventFilter()
{
+ Q_UNUSED(d);
}
/*!