diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-03 14:03:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-03 14:03:34 +0200 |
commit | 663376dee3b8c0ea0f6f8079e14a512b060ecb24 (patch) | |
tree | a28ff42d141d289768e9e460fb4f2fa93d854adb /dtrans/source/win32/clipb | |
parent | 97e2369562f3dbca8568983a2d47ce953fa79acf (diff) |
loplugin:oncevar (clang-cl): dtrans
Change-Id: I2ec41f641f3784ef86322c25481e6794e29eb889
Diffstat (limited to 'dtrans/source/win32/clipb')
-rw-r--r-- | dtrans/source/win32/clipb/MtaOleClipb.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dtrans/source/win32/clipb/MtaOleClipb.cxx b/dtrans/source/win32/clipb/MtaOleClipb.cxx index 6c8ec203295f..aa7681267129 100644 --- a/dtrans/source/win32/clipb/MtaOleClipb.cxx +++ b/dtrans/source/win32/clipb/MtaOleClipb.cxx @@ -427,8 +427,6 @@ bool CMtaOleClipboard::registerClipViewer( LPFNC_CLIPVIEWER_CALLBACK_t pfncClipV return false; } - bool bRet = false; - OSL_ENSURE( GetCurrentThreadId( ) != m_uOleThreadId, "registerClipViewer from within the OleThread called" ); MsgCtx aMsgCtx; @@ -439,7 +437,7 @@ bool CMtaOleClipboard::registerClipViewer( LPFNC_CLIPVIEWER_CALLBACK_t pfncClipV aMsgCtx.aCondition.wait( /* infinite */ ); - return bRet; + return false; } // register a clipboard viewer |