summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-08 15:09:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-08 20:45:12 +0100
commit4c4e2868f885a0a7403f8b48dc6f485e0a5f8ca5 (patch)
tree6ee2276de21b072515f611910c219dae3c3f41ff /cppu
parent0fe035e366c9eeb72eaca9ca34ab876fc6154d01 (diff)
coverity#982158 Unchecked return value
Change-Id: I15acdaaa810b5ee209764a277d0da5a4d7773466
Diffstat (limited to 'cppu')
-rw-r--r--cppu/source/typelib/typelib.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx
index 042bf197eaa8..56f8c8512e99 100644
--- a/cppu/source/typelib/typelib.cxx
+++ b/cppu/source/typelib/typelib.cxx
@@ -2238,7 +2238,7 @@ extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescriptionreference_getDesc
}
else
{
- osl_atomic_decrement( &pRef->pType->nRefCount );
+ (void)osl_atomic_decrement( &pRef->pType->nRefCount );
// detruction of this type in progress (another thread!)
// no acces through this weak reference
pRef->pType = 0;