Kaydet (Commit) e676f98f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

clang-analyzer-deadcode.DeadStores

Change-Id: Ib1163c1717e61d730b22c3d6d0a0a7cc171bba4e
üst fe0444db
......@@ -142,11 +142,11 @@ Reference< XInterface > SAL_CALL OWeakConnectionPoint::queryAdapted() throw(css:
guard.clear();
// WeakObject has a (XInterface *) cast operator
ret = *m_pObject;
n = osl_atomic_decrement( &m_pObject->m_refCount );
osl_atomic_decrement( &m_pObject->m_refCount );
}
else
// Another thread wait in the dispose method at the guard
n = osl_atomic_decrement( &m_pObject->m_refCount );
osl_atomic_decrement( &m_pObject->m_refCount );
}
return ret;
......
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