[Libreoffice-commits] core.git: 2 commits - cppuhelper/source store/source
Stephan Bergmann
sbergman at redhat.com
Mon Oct 5 00:52:03 PDT 2015
cppuhelper/source/weak.cxx | 4 ++--
store/source/storpage.cxx | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit e676f98f34b6bdf1e54172581f29683f694e5353
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Oct 5 09:51:38 2015 +0200
clang-analyzer-deadcode.DeadStores
Change-Id: Ib1163c1717e61d730b22c3d6d0a0a7cc171bba4e
diff --git a/cppuhelper/source/weak.cxx b/cppuhelper/source/weak.cxx
index 661c687..ee6c097 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;
commit fe0444dbd400fd98f17ce1bcb60042ebe532055a
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Oct 5 09:49:59 2015 +0200
clang-analyzer-deadcode.DeadStores
Change-Id: I490f345d382b62001cf29a64ed732e854bdc5f7b
diff --git a/store/source/storpage.cxx b/store/source/storpage.cxx
index d6b186c..f49a894 100644
--- a/store/source/storpage.cxx
+++ b/store/source/storpage.cxx
@@ -775,10 +775,10 @@ storeError OStorePageManager::remove (const OStorePageKey &rKey)
}
// Release page write access.
- eErrCode = base::releasePage (aDescr);
+ base::releasePage (aDescr);
// Release and free directory page.
- eErrCode = base::free (aPage.location());
+ base::free (aPage.location());
}
// Remove entry.
More information about the Libreoffice-commits
mailing list