From b7e999e2e9df272e8542c6a32486b2cc1a058f15 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 29 Oct 2014 09:16:36 +0000 Subject: coverity#1202880 annotate Dereference before null check as false positive and coverity#1202881 Dereference before null check as false positive Change-Id: Id2c1ff2a5913755e9160807eace3219be3b35fd1 --- framework/source/accelerators/acceleratorconfiguration.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'framework') diff --git a/framework/source/accelerators/acceleratorconfiguration.cxx b/framework/source/accelerators/acceleratorconfiguration.cxx index 5a83c35ac97d..2284d1673898 100644 --- a/framework/source/accelerators/acceleratorconfiguration.cxx +++ b/framework/source/accelerators/acceleratorconfiguration.cxx @@ -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); -- cgit v1.2.3