13
0

Remove never-matching assert

Since previous line just asserted that possible_in > 0, it is
necessarily non-null and the test is always true.
This commit is contained in:
Julien "_FrnchFrgg_" RIVAUD 2018-07-31 12:03:30 +02:00
parent e9f02e28d3
commit 4d0e122976

View File

@ -1538,7 +1538,6 @@ AUPlugin::can_support_io_configuration (const ChanCount& in, ChanCount& out, Cha
int32_t possible_out = i->second;
assert (possible_in > 0); // all other cases will have been matched above
assert (possible_out !=0 || possible_in !=0); // already handled above
imprecise->set (DataType::AUDIO, possible_in);
if (possible_out == -1 || possible_out == -2) {