diff options
author | Julien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr> | 2018-07-31 12:03:30 +0200 |
---|---|---|
committer | Julien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr> | 2019-05-12 22:32:10 +0200 |
commit | 4d0e12297618ca8c216f9b2330be8fb7186b8231 (patch) | |
tree | 5af5672d7887bebaa57f052b36ce639ff7659b7d /libs/ardour/audio_unit.cc | |
parent | e9f02e28d30b95642d08405eec3907ed849f5e20 (diff) |
Remove never-matching assert
Since previous line just asserted that possible_in > 0, it is
necessarily non-null and the test is always true.
Diffstat (limited to 'libs/ardour/audio_unit.cc')
-rw-r--r-- | libs/ardour/audio_unit.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/ardour/audio_unit.cc b/libs/ardour/audio_unit.cc index 1ee140ac0a..666ab1d4d5 100644 --- a/libs/ardour/audio_unit.cc +++ b/libs/ardour/audio_unit.cc @@ -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) { |