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); } /*! diff --git a/src/corelib/tools/qbytearraymatcher.cpp b/src/corelib/tools/qbytearraymatcher.cpp index 59d7629c27..bcd6a56aad 100644 --- a/src/corelib/tools/qbytearraymatcher.cpp +++ b/src/corelib/tools/qbytearraymatcher.cpp @@ -164,6 +164,7 @@ QByteArrayMatcher::QByteArrayMatcher(const QByteArrayMatcher &other) */ QByteArrayMatcher::~QByteArrayMatcher() { + Q_UNUSED(d); } /*! 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); } /*! diff --git a/src/corelib/tools/qtextboundaryfinder.cpp b/src/corelib/tools/qtextboundaryfinder.cpp index eb861b7289..7b8fbebb22 100644 --- a/src/corelib/tools/qtextboundaryfinder.cpp +++ b/src/corelib/tools/qtextboundaryfinder.cpp @@ -229,6 +229,7 @@ QTextBoundaryFinder &QTextBoundaryFinder::operator=(const QTextBoundaryFinder &o */ QTextBoundaryFinder::~QTextBoundaryFinder() { + Q_UNUSED(unused); if (freePrivate) free(d); }