embedserv/source/embed/servprov.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4440be60e43183b1761fbec38c09665b237fb01e Author: Stephan Bergmann <[email protected]> AuthorDate: Tue Feb 9 16:22:53 2021 +0100 Commit: Stephan Bergmann <[email protected]> CommitDate: Tue Feb 9 17:50:56 2021 +0100 Silence -Werror,-Wunused-variable (clang-cl) Change-Id: Ic023076a8673144cb2cf4e5a36d44d592900682e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110642 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <[email protected]> diff --git a/embedserv/source/embed/servprov.cxx b/embedserv/source/embed/servprov.cxx index ef8004a3ce02..8a1efd5152a5 100644 --- a/embedserv/source/embed/servprov.cxx +++ b/embedserv/source/embed/servprov.cxx @@ -45,7 +45,7 @@ const GUID* const guidList[ SUPPORTED_FACTORIES_NUM ] = { static void o2u_attachCurrentThread() { - static thread_local bool aInit = [] + [[maybe_unused]] static thread_local bool aInit = [] { HRESULT hr = CoInitializeEx(nullptr, COINIT_MULTITHREADED); if (!SUCCEEDED(hr)) _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
