diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:29:31 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:29:31 +0200 |
commit | df45d21334e931db03ad9ceb2574a03c4b8ca3e3 (patch) | |
tree | 3409672465ef58c4f0618aded8eb358b7d0be6c2 /store/source | |
parent | e943a42e2bd7db27679c3b99ef97f955db1244f4 (diff) |
loplugin:casttovoid: store
Change-Id: Idb679a4070202fe7baecab79b69a5a4cf395e7d7
Diffstat (limited to 'store/source')
-rw-r--r-- | store/source/lockbyte.cxx | 1 | ||||
-rw-r--r-- | store/source/storcach.cxx | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/store/source/lockbyte.cxx b/store/source/lockbyte.cxx index b0b2b52eb419..581a515c2c3b 100644 --- a/store/source/lockbyte.cxx +++ b/store/source/lockbyte.cxx @@ -570,7 +570,6 @@ void MappedLockBytes::allocate_Impl (void ** ppPage, sal_uInt16 * pnSize) void MappedLockBytes::deallocate_Impl (void * pPage) { OSL_PRECOND((m_pData <= pPage) && (pPage < m_pData + m_nSize), "contract violation"); - (void)pPage; // UNUSED } storeError MappedLockBytes::initialize_Impl (rtl::Reference< PageData::Allocator > & rxAllocator, sal_uInt16 nPageSize) diff --git a/store/source/storcach.cxx b/store/source/storcach.cxx index bb5bf53f029e..beb5c1796d50 100644 --- a/store/source/storcach.cxx +++ b/store/source/storcach.cxx @@ -205,7 +205,6 @@ PageCache::~PageCache() } double ave = s_x / double(n); SAL_INFO("store", "avg hash chain length: " << ave); - (void) ave; if (m_hash_table != m_hash_table_0) { |