13
0

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:
Julien "_FrnchFrgg_" RIVAUD 2016-07-31 13:32:39 +02:00
parent eb7a364628
commit 91414f52e2

View File

@ -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);