Mark potentially unused variable as maybe_unused

Fixes compile error with MinGW clang.

Amends de6f405313

Pick-to: 6.6 6.5
Change-Id: Idc1fac9d92369cfc79b5c770830bb43b3c5aae91
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Mårten Nordheim 2023-09-11 17:57:00 +02:00
parent 29919f3dc9
commit b153181546

View File

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