diff --git a/tests/auto/corelib/text/qstringapisymmetry/tst_qstringapisymmetry.cpp b/tests/auto/corelib/text/qstringapisymmetry/tst_qstringapisymmetry.cpp index 9d2af3755e8..cacd5276910 100644 --- a/tests/auto/corelib/text/qstringapisymmetry/tst_qstringapisymmetry.cpp +++ b/tests/auto/corelib/text/qstringapisymmetry/tst_qstringapisymmetry.cpp @@ -1377,7 +1377,7 @@ template constexpr bool is_null(const T &str) else return str.isNull(); } -template <> constexpr bool is_null(const char &str) { return false; } +template <> constexpr bool is_null(const char &) { return false; } } // namespace help