From df45d21334e931db03ad9ceb2574a03c4b8ca3e3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sun, 2 Jul 2017 22:29:31 +0200 Subject: loplugin:casttovoid: store Change-Id: Idb679a4070202fe7baecab79b69a5a4cf395e7d7 --- store/source/lockbyte.cxx | 1 - store/source/storcach.cxx | 1 - 2 files changed, 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) { -- cgit