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:
parent
e9f02e28d3
commit
4d0e122976
@ -1538,7 +1538,6 @@ AUPlugin::can_support_io_configuration (const ChanCount& in, ChanCount& out, Cha
|
|||||||
int32_t possible_out = i->second;
|
int32_t possible_out = i->second;
|
||||||
|
|
||||||
assert (possible_in > 0); // all other cases will have been matched above
|
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);
|
imprecise->set (DataType::AUDIO, possible_in);
|
||||||
if (possible_out == -1 || possible_out == -2) {
|
if (possible_out == -1 || possible_out == -2) {
|
||||||
|
Loading…
Reference in New Issue
Block a user