From e1be03f0e767bef272bbe26b16fb683da5598497 Mon Sep 17 00:00:00 2001 From: Paul Ferrand Date: Fri, 13 Dec 2019 13:10:11 +0100 Subject: [PATCH] Removed a warning from GCC --- src/sfizz/Voice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sfizz/Voice.cpp b/src/sfizz/Voice.cpp index 560266c1..2818ed01 100644 --- a/src/sfizz/Voice.cpp +++ b/src/sfizz/Voice.cpp @@ -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)