diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-09-29 22:49:15 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-09-29 22:49:49 +0200 |
commit | 30e72a9a36750b7326803fa8fa1b8d40648e7e89 (patch) | |
tree | dc6bff0319f54ac5328b1213d791c86442fffd4b /dtrans | |
parent | 26bb3a08958d1d3062f9c7eb9b155a8e228f1bc5 (diff) |
cppcheck: some cleanings
Change-Id: Ie41b33c09d79b40116cc10f7557987860acb55e8
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/win32/clipb/MtaOleClipb.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dtrans/source/win32/clipb/MtaOleClipb.cxx b/dtrans/source/win32/clipb/MtaOleClipb.cxx index d893dd49c5df..365e8696b7a4 100644 --- a/dtrans/source/win32/clipb/MtaOleClipb.cxx +++ b/dtrans/source/win32/clipb/MtaOleClipb.cxx @@ -399,7 +399,6 @@ HRESULT CMtaOleClipboard::getClipboard( IDataObject** ppIDataObject ) CAutoComInit comAutoInit; LPSTREAM lpStream; - HRESULT hr = E_FAIL; *ppIDataObject = NULL; @@ -411,7 +410,7 @@ HRESULT CMtaOleClipboard::getClipboard( IDataObject** ppIDataObject ) aMsgCtx.aCondition.wait( /* infinite */ ); - hr = aMsgCtx.hr; + HRESULT hr = aMsgCtx.hr; if ( SUCCEEDED( hr ) ) { |