mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
fix optimized unused variable warning
This commit is contained in:
parent
046cdf1295
commit
4599b07217
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue