diff options
Diffstat (limited to 'vcl/inc/osx/runinmain.hxx')
-rw-r--r-- | vcl/inc/osx/runinmain.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/inc/osx/runinmain.hxx b/vcl/inc/osx/runinmain.hxx index e9ef9113d041..c971d3a25639 100644 --- a/vcl/inc/osx/runinmain.hxx +++ b/vcl/inc/osx/runinmain.hxx @@ -77,6 +77,7 @@ union RuninmainResult }); \ aMutex->m_aInMainCondition.set(); \ osl::Condition::Result res = aMutex->m_aResultCondition.wait(); \ + (void) res; \ assert(osl::Condition::Result::result_ok == res); \ return; \ } @@ -96,6 +97,7 @@ union RuninmainResult }); \ aMutex->m_aInMainCondition.set(); \ osl::Condition::Result res = aMutex->m_aResultCondition.wait(); \ + (void) res; \ assert(osl::Condition::Result::result_ok == res); \ return static_cast<type>( aMutex->m_aResult.pointer ); \ } @@ -115,6 +117,7 @@ union RuninmainResult }); \ aMutex->m_aInMainCondition.set(); \ osl::Condition::Result res = aMutex->m_aResultCondition.wait(); \ + (void) res; \ assert(osl::Condition::Result::result_ok == res); \ return std::move( aMutex->m_aResult.member ); \ } |