Kaydet (Commit) 49884860 authored tarafından David Tardon's avatar David Tardon

WaE: variable 'hr' set but not used

üst 4d34615c
...@@ -90,7 +90,6 @@ DropTarget::~DropTarget() ...@@ -90,7 +90,6 @@ DropTarget::~DropTarget()
// the IDropTarget object will live on. MEMORY LEAK // the IDropTarget object will live on. MEMORY LEAK
void SAL_CALL DropTarget::disposing() void SAL_CALL DropTarget::disposing()
{ {
HRESULT hr= S_OK;
if( m_threadIdTarget) if( m_threadIdTarget)
{ {
// Call RevokeDragDrop and wait for the OLE thread to die; // Call RevokeDragDrop and wait for the OLE thread to die;
...@@ -101,7 +100,7 @@ void SAL_CALL DropTarget::disposing() ...@@ -101,7 +100,7 @@ void SAL_CALL DropTarget::disposing()
} }
else else
{ {
hr= RevokeDragDrop( m_hWnd); RevokeDragDrop( m_hWnd);
m_hWnd= 0; m_hWnd= 0;
} }
if( m_pDropTarget) if( m_pDropTarget)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment