diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-12-14 10:33:13 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-12-14 11:09:13 +0100 |
commit | 4376820074abc4d70765675ef5a4adae8f58effe (patch) | |
tree | cb1f636a1850850c2d10a7759c457165a0ad28ca /vcl/win | |
parent | 1f066313218449cac494a887eb209311efbaa405 (diff) |
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>
Diffstat (limited to 'vcl/win')
-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 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 ); } |