mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 15:21:40 +00:00
AUDIO: Fixed compiler warning, this is always true
This commit is contained in:
parent
f3eba5e945
commit
2bc3d7f4ed
@ -137,10 +137,8 @@ MidiDriver_MT32GM::~MidiDriver_MT32GM() {
|
||||
}
|
||||
_driver = nullptr;
|
||||
|
||||
if (_controlData) {
|
||||
for (int i = 0; i < MIDI_CHANNEL_COUNT; ++i) {
|
||||
delete _controlData[i];
|
||||
}
|
||||
for (int i = 0; i < MIDI_CHANNEL_COUNT; ++i) {
|
||||
delete _controlData[i];
|
||||
}
|
||||
if (_activeNotes)
|
||||
delete[] _activeNotes;
|
||||
|
Loading…
x
Reference in New Issue
Block a user