diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-08 15:08:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-08 20:45:12 +0100 |
commit | 54d068185e034323479bcacd544bab222642ad8e (patch) | |
tree | 0653608f55412a5bfc7c4dee2155a72e81598b30 /cppu | |
parent | coverity#706283 Uncaught exception (diff) | |
download | core-54d068185e034323479bcacd544bab222642ad8e.tar.gz core-54d068185e034323479bcacd544bab222642ad8e.zip |
coverity#982156 Unchecked return value
Change-Id: I16180cae5fcf8dc59614f4ccf33f8745db05e138
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/typelib/typelib.cxx | 2 |
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 |