From b1531815465eeff249c1e8e27c3354e4a5da0eee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Nordheim?= Date: Mon, 11 Sep 2023 17:57:00 +0200 Subject: [PATCH] Mark potentially unused variable as maybe_unused Fixes compile error with MinGW clang. Amends de6f4053139377b63cf92f6bca4d96d488682de4 Pick-to: 6.6 6.5 Change-Id: Idc1fac9d92369cfc79b5c770830bb43b3c5aae91 Reviewed-by: Marc Mutz Reviewed-by: Thiago Macieira --- src/corelib/global/qlibraryinfo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp index 8cb16646a7..573d7e6a15 100644 --- a/src/corelib/global/qlibraryinfo.cpp +++ b/src/corelib/global/qlibraryinfo.cpp @@ -480,6 +480,7 @@ QLibraryInfoPrivate::LocationInfo QLibraryInfoPrivate::locationInfo(QLibraryInfo "Examples", "examples", "Tests", "tests" ); + [[maybe_unused]] constexpr QByteArrayView dot{"."}; LocationInfo result;