MidiController: removed unused variable

The local "bytes" variable is never used and thus can be removed. Fixes
compiler warning.
This commit is contained in:
Tobias Doerffel
2012-01-29 12:02:33 +01:00
parent 3e4b824daf
commit 8c1019cdae

View File

@@ -77,11 +77,9 @@ void MidiController::processInEvent( const midiEvent & _me,
const midiTime & _time )
{
Uint8 controllerNum;
const Uint8 * bytes;
switch( _me.m_type )
{
case MidiControlChange:
bytes = _me.m_data.m_bytes;
controllerNum = _me.m_data.m_bytes[0] & 0x7F;
if( m_midiPort.inputController() == controllerNum + 1 &&