summaryrefslogtreecommitdiff
path: root/cppu/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-08 15:08:32 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-08 20:45:12 +0100
commit54d068185e034323479bcacd544bab222642ad8e (patch)
tree0653608f55412a5bfc7c4dee2155a72e81598b30 /cppu/source
parentb4895186c33d2b653600358e5d9424dda76b17e9 (diff)
coverity#982156 Unchecked return value
Change-Id: I16180cae5fcf8dc59614f4ccf33f8745db05e138
Diffstat (limited to 'cppu/source')
-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 09fa10f17f88..7fb987b9c9a5 100644
--- a/cppu/source/typelib/typelib.cxx
+++ b/cppu/source/typelib/typelib.cxx
@@ -1503,7 +1503,7 @@ extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_register(
else
{
// destruction of this type in progress (another thread!)
- osl_atomic_decrement( &pTDR->pType->nRefCount );
+ (void)osl_atomic_decrement( &pTDR->pType->nRefCount );
}
}
// take new descr