mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
fix unused variable warning from clang
This commit is contained in:
parent
67c6a9dbf4
commit
c03c3dd918
1 changed files with 0 additions and 4 deletions
|
|
@ -543,13 +543,9 @@ MixLayout::switch_bank (uint32_t base)
|
|||
/* work backwards so we can tell if we should actually switch banks */
|
||||
|
||||
std::shared_ptr<Stripable> s[8];
|
||||
uint32_t different = 0;
|
||||
|
||||
for (int n = 0; n < 8; ++n) {
|
||||
s[n] = _session.get_remote_nth_stripable (base+n, PresentationInfo::Flag (PresentationInfo::Route|PresentationInfo::VCA));
|
||||
if (s[n] != _stripable[n]) {
|
||||
different++;
|
||||
}
|
||||
}
|
||||
|
||||
if (!s[0]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue