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
|
||||
OSL_ENSURE( insertion.second, "### inserting new cache entry failed?!" );
|
||||
#endif
|
||||
(void) insertion; // avoid warnings
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user