changeset 963:12e62865fd61

As coverity points out, MIDI_END_OF_EXCLUSIVE (0xF7) cannot result from masking with MIDI_MESSAGE_TYPE_MASK(0xF0). Not that it really matters here.
author Chris Cannam
date Wed, 03 Sep 2014 10:40:37 +0100
parents 613ee830de5e
children 6b5e1edd95fc
files data/fileio/MIDIFileReader.cpp
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/data/fileio/MIDIFileReader.cpp	Wed Sep 03 09:58:31 2014 +0100
+++ b/data/fileio/MIDIFileReader.cpp	Wed Sep 03 10:40:37 2014 +0100
@@ -629,13 +629,6 @@
                 m_midiComposition[trackNum].push_back(midiEvent);
                 break;
 
-            case MIDI_END_OF_EXCLUSIVE:
-#ifdef MIDI_DEBUG
-                SVDEBUG << "MIDIFileReader::parseTrack() - "
-                          << "Found a stray MIDI_END_OF_EXCLUSIVE" << endl;
-#endif
-                break;
-
             default:
 #ifdef MIDI_DEBUG
                 SVDEBUG << "MIDIFileReader::parseTrack()"