diff --git a/src/corelib/kernel/qabstractnativeeventfilter.cpp b/src/corelib/kernel/qabstractnativeeventfilter.cpp index ad5e7f888ce..b38e225f0df 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 59d7629c275..bcd6a56aada 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 0aacea4762a..d54e9c7ba76 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 eb861b72898..7b8fbebb224 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); }