From 4c4e2868f885a0a7403f8b48dc6f485e0a5f8ca5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 8 Oct 2014 15:09:41 +0100 Subject: coverity#982158 Unchecked return value Change-Id: I15acdaaa810b5ee209764a277d0da5a4d7773466 --- cppu/source/typelib/typelib.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cppu') 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; -- cgit