aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-09-30 18:53:32 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-09-30 18:53:32 +0300
commit10c6c335697cd7e570d06089c61c1fae8acb29e1 (patch)
tree3e8087d029f01c957874cf18e9be3c0cec05c45d /src
parent64892d58b91e6abd9acc5204760811cbe06abc21 (diff)
downloadlibADLMIDI-10c6c335697cd7e570d06089c61c1fae8acb29e1.tar.gz
libADLMIDI-10c6c335697cd7e570d06089c61c1fae8acb29e1.tar.bz2
libADLMIDI-10c6c335697cd7e570d06089c61c1fae8acb29e1.zip
Remove useless condition
Diffstat (limited to 'src')
-rw-r--r--src/adlmidi_midiplay.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/adlmidi_midiplay.cpp b/src/adlmidi_midiplay.cpp
index 585e855..673ec30 100644
--- a/src/adlmidi_midiplay.cpp
+++ b/src/adlmidi_midiplay.cpp
@@ -1474,8 +1474,6 @@ void MIDIplay::killOrEvacuate(size_t from_channel,
{
uint16_t cs = static_cast<uint16_t>(c);
- if(c > std::numeric_limits<uint32_t>::max())
- break;
if(c == from_channel)
continue;
if(m_synth.m_channelCategory[c] != m_synth.m_channelCategory[from_channel])