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

loplugin:casttovoid: stoc

Change-Id: I7e11f40d71b83e39154a5036e2d2241dc29674e4
üst df45d213
...@@ -194,7 +194,6 @@ extern "C" ...@@ -194,7 +194,6 @@ extern "C"
static void SAL_CALL binuno_proxy_free( static void SAL_CALL binuno_proxy_free(
uno_ExtEnvironment * pEnv, void * pProxy ) uno_ExtEnvironment * pEnv, void * pProxy )
{ {
(void) pEnv; // avoid warning about unused parameter
binuno_Proxy * proxy = static_cast< binuno_Proxy * >( binuno_Proxy * proxy = static_cast< binuno_Proxy * >(
static_cast< uno_Interface * >( pProxy ) ); static_cast< uno_Interface * >( pProxy ) );
OSL_ASSERT( proxy->m_root->m_factory->m_uno_env.get()->pExtEnv == pEnv ); OSL_ASSERT( proxy->m_root->m_factory->m_uno_env.get()->pExtEnv == pEnv );
......
...@@ -194,10 +194,7 @@ inline void lru_cache< t_key, t_val, t_hashKey, t_equalKey >::set( ...@@ -194,10 +194,7 @@ inline void lru_cache< t_key, t_val, t_hashKey, t_equalKey >::set(
entry->m_key = key; entry->m_key = key;
::std::pair< typename t_key2element::iterator, bool > insertion( ::std::pair< typename t_key2element::iterator, bool > insertion(
m_key2element.insert( typename t_key2element::value_type( key, entry ) ) ); m_key2element.insert( typename t_key2element::value_type( key, entry ) ) );
#ifdef __CACHE_DIAGNOSE
OSL_ENSURE( insertion.second, "### inserting new cache entry failed?!" ); OSL_ENSURE( insertion.second, "### inserting new cache entry failed?!" );
#endif
(void) insertion; // avoid warnings
} }
else else
{ {
......
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