vcl/win/app/salinst.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 4376820074abc4d70765675ef5a4adae8f58effe Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Mon Dec 14 10:33:13 2020 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Mon Dec 14 11:09:13 2020 +0100
Silence MSVC warning C4189 "local variable is initialized but not referenced" Change-Id: I346cf6cf148cd3b4ac851f8c441d54c858f55935 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107674 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/vcl/win/app/salinst.cxx b/vcl/win/app/salinst.cxx index b8859e8996c2..8bdc810bffa2 100644 --- a/vcl/win/app/salinst.cxx +++ b/vcl/win/app/salinst.cxx @@ -155,6 +155,7 @@ void SalYieldMutex::doAcquire( sal_uInt32 nLockCount ) // wait for SalYieldMutex::release() to set the condition osl::Condition::Result res = m_condition.wait(); assert(osl::Condition::Result::result_ok == res); + (void) res; } while ( true ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits