13
0

fix optimized unused variable warning

This commit is contained in:
Paul Davis 2022-06-21 18:44:33 -06:00
parent 046cdf1295
commit 4599b07217

View File

@ -207,7 +207,10 @@ WaveViewCache::get_cache_group (boost::shared_ptr<ARDOUR::AudioSource> source)
boost::shared_ptr<WaveViewCacheGroup> new_group (new WaveViewCacheGroup (*this)); boost::shared_ptr<WaveViewCacheGroup> new_group (new WaveViewCacheGroup (*this));
bool inserted = cache_group_map.insert (std::make_pair (source, new_group)).second; #ifndef NDEBUG
bool inserted =
#endif
cache_group_map.insert (std::make_pair (source, new_group)).second;
assert (inserted); assert (inserted);