summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-29 09:16:36 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-10-29 10:40:09 +0000
commitb7e999e2e9df272e8542c6a32486b2cc1a058f15 (patch)
treeceeebf9abad35b8fe170e91125596e57ab4c6182 /framework
parent3d4c086b5098523a6f87abf6222798849d257204 (diff)
coverity#1202880 annotate Dereference before null check as false positive
and coverity#1202881 Dereference before null check as false positive Change-Id: Id2c1ff2a5913755e9160807eace3219be3b35fd1
Diffstat (limited to 'framework')
-rw-r--r--framework/source/accelerators/acceleratorconfiguration.cxx2
1 files changed, 2 insertions, 0 deletions
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);