summaryrefslogtreecommitdiff
path: root/cppuhelper/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-05 09:51:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-05 09:51:38 +0200
commite676f98f34b6bdf1e54172581f29683f694e5353 (patch)
tree9900b0259747a753ba4fa2b88f5740dfe022f172 /cppuhelper/source
parentfe0444dbd400fd98f17ce1bcb60042ebe532055a (diff)
clang-analyzer-deadcode.DeadStores
Change-Id: Ib1163c1717e61d730b22c3d6d0a0a7cc171bba4e
Diffstat (limited to 'cppuhelper/source')
-rw-r--r--cppuhelper/source/weak.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppuhelper/source/weak.cxx b/cppuhelper/source/weak.cxx
index 661c687e8425..ee6c09748e8b 100644
--- a/cppuhelper/source/weak.cxx
+++ b/cppuhelper/source/weak.cxx
@@ -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;