summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qstringmatcher.cpp
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/tools/qstringmatcher.cpp
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/tools/qstringmatcher.cpp')
-rw-r--r--src/corelib/tools/qstringmatcher.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/tools/qstringmatcher.cpp b/src/corelib/tools/qstringmatcher.cpp
index 0aacea4762..d54e9c7ba7 100644
--- a/src/corelib/tools/qstringmatcher.cpp
+++ b/src/corelib/tools/qstringmatcher.cpp
@@ -198,6 +198,7 @@ QStringMatcher::QStringMatcher(const QStringMatcher &other)
*/
QStringMatcher::~QStringMatcher()
{
+ Q_UNUSED(d_ptr);
}
/*!