clang-analyzer-deadcode.DeadStores
Change-Id: Ib1163c1717e61d730b22c3d6d0a0a7cc171bba4e
This commit is contained in:
@@ -142,11 +142,11 @@ Reference< XInterface > SAL_CALL OWeakConnectionPoint::queryAdapted() throw(css:
|
|||||||
guard.clear();
|
guard.clear();
|
||||||
// WeakObject has a (XInterface *) cast operator
|
// WeakObject has a (XInterface *) cast operator
|
||||||
ret = *m_pObject;
|
ret = *m_pObject;
|
||||||
n = osl_atomic_decrement( &m_pObject->m_refCount );
|
osl_atomic_decrement( &m_pObject->m_refCount );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
// Another thread wait in the dispose method at the guard
|
// 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;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user