diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-12-14 10:33:13 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2022-06-07 08:36:18 +0200 |
commit | e772298b7736a7c82d7c31bc78cf453645762658 (patch) | |
tree | b07bf257b2d018d62f6c4c0cd18a4b3231679c18 | |
parent | Silence warning C4189: local variable is initialized but not referenced (diff) | |
download | core-e772298b7736a7c82d7c31bc78cf453645762658.tar.gz core-e772298b7736a7c82d7c31bc78cf453645762658.zip |
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 <sbergman@redhat.com>
(cherry picked from commit 4376820074abc4d70765675ef5a4adae8f58effe)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135315
Tested-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
-rw-r--r-- | vcl/win/app/salinst.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/win/app/salinst.cxx b/vcl/win/app/salinst.cxx index 1994a274f8b4..727c3f5c7cf9 100644 --- a/vcl/win/app/salinst.cxx +++ b/vcl/win/app/salinst.cxx @@ -148,6 +148,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 ); } |