Clang -Wunused-variable.
This commit is contained in:
@@ -242,6 +242,7 @@ inline void lru_cache< t_key, t_val, t_hashKey, t_equalKey >::set(
|
|||||||
#ifdef __CACHE_DIAGNOSE
|
#ifdef __CACHE_DIAGNOSE
|
||||||
OSL_ENSURE( insertion.second, "### inserting new cache entry failed?!" );
|
OSL_ENSURE( insertion.second, "### inserting new cache entry failed?!" );
|
||||||
#endif
|
#endif
|
||||||
|
(void) insertion; // avoid warnings
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user