Mark potentially unused variable as maybe_unused

Fixes compile error with MinGW clang.

Amends de6f4053139377b63cf92f6bca4d96d488682de4

Pick-to: 6.5
Change-Id: Idc1fac9d92369cfc79b5c770830bb43b3c5aae91
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit b1531815465eeff249c1e8e27c3354e4a5da0eee)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Mårten Nordheim 2023-09-11 17:57:00 +02:00 committed by Qt Cherry-pick Bot
parent 061a057d5b
commit db90905601

View File

@ -475,6 +475,7 @@ QLibraryInfoPrivate::LocationInfo QLibraryInfoPrivate::locationInfo(QLibraryInfo
"Examples", "examples",
"Tests", "tests"
);
[[maybe_unused]]
constexpr QByteArrayView dot{"."};
LocationInfo result;