Remove redundant condition
Since can_replicate is true at loop start, and in the loop body there is a break; after every can_replicate=false, there's no point to test its value in the loop condition.
This commit is contained in:
parent
eb7a364628
commit
91414f52e2
@ -2161,7 +2161,7 @@ PluginInsert::automatic_can_support_io_configuration (ChanCount const & inx, Cha
|
||||
|
||||
uint32_t f = 0;
|
||||
bool can_replicate = true;
|
||||
for (DataType::iterator t = DataType::begin(); t != DataType::end() && can_replicate; ++t) {
|
||||
for (DataType::iterator t = DataType::begin(); t != DataType::end(); ++t) {
|
||||
|
||||
// ignore side-chains
|
||||
uint32_t nin = ns_inputs.get (*t);
|
||||
|
Loading…
Reference in New Issue
Block a user