Removed a warning from GCC

This commit is contained in:
Paul Ferrand 2019-12-13 13:10:11 +01:00
parent 8461d1b4f3
commit e1be03f0e7

View file

@ -192,7 +192,7 @@ void sfz::Voice::registerCC(int delay, int channel [[maybe_unused]], int ccNumbe
void sfz::Voice::registerPitchWheel(int delay, int channel, int pitch) noexcept
{
if (!channel == triggerChannel)
if (channel != triggerChannel)
return;
if (state == State::idle)