Kaydet (Commit) b7e999e2 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1202880 annotate Dereference before null check as false positive

and

coverity#1202881 Dereference before null check as false positive

Change-Id: Id2c1ff2a5913755e9160807eace3219be3b35fd1
üst 3d4c086b
......@@ -1205,6 +1205,7 @@ void XCUBasedAcceleratorConfiguration::impl_ts_save(bool bPreferred, const css::
// take over all changes into the original container
SolarMutexGuard g;
// coverity[reverse_inull]
if (m_pPrimaryWriteCache)
{
m_aPrimaryReadCache.takeOver(*m_pPrimaryWriteCache);
......@@ -1243,6 +1244,7 @@ void XCUBasedAcceleratorConfiguration::impl_ts_save(bool bPreferred, const css::
// take over all changes into the original container
SolarMutexGuard g;
// coverity[reverse_inull]
if (m_pSecondaryWriteCache)
{
m_aSecondaryReadCache.takeOver(*m_pSecondaryWriteCache);
......
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