Kaydet (Commit) df45d213 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:casttovoid: store

Change-Id: Idb679a4070202fe7baecab79b69a5a4cf395e7d7
üst e943a42e
...@@ -570,7 +570,6 @@ void MappedLockBytes::allocate_Impl (void ** ppPage, sal_uInt16 * pnSize) ...@@ -570,7 +570,6 @@ void MappedLockBytes::allocate_Impl (void ** ppPage, sal_uInt16 * pnSize)
void MappedLockBytes::deallocate_Impl (void * pPage) void MappedLockBytes::deallocate_Impl (void * pPage)
{ {
OSL_PRECOND((m_pData <= pPage) && (pPage < m_pData + m_nSize), "contract violation"); 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) storeError MappedLockBytes::initialize_Impl (rtl::Reference< PageData::Allocator > & rxAllocator, sal_uInt16 nPageSize)
......
...@@ -205,7 +205,6 @@ PageCache::~PageCache() ...@@ -205,7 +205,6 @@ PageCache::~PageCache()
} }
double ave = s_x / double(n); double ave = s_x / double(n);
SAL_INFO("store", "avg hash chain length: " << ave); SAL_INFO("store", "avg hash chain length: " << ave);
(void) ave;
if (m_hash_table != m_hash_table_0) if (m_hash_table != m_hash_table_0)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment