[Scummvm-git-logs] scummvm master -> 2bc3d7f4ede652d9c0f2f30c17bb5ba4427c97df
aquadran
noreply at scummvm.org
Sun Dec 5 15:17:27 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
2bc3d7f4ed AUDIO: Fixed compiler warning, this is always true
Commit: 2bc3d7f4ede652d9c0f2f30c17bb5ba4427c97df
https://github.com/scummvm/scummvm/commit/2bc3d7f4ede652d9c0f2f30c17bb5ba4427c97df
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2021-12-05T16:17:20+01:00
Commit Message:
AUDIO: Fixed compiler warning, this is always true
Changed paths:
audio/mt32gm.cpp
diff --git a/audio/mt32gm.cpp b/audio/mt32gm.cpp
index 11ee737c11..15e139011d 100644
--- a/audio/mt32gm.cpp
+++ b/audio/mt32gm.cpp
@@ -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;
More information about the Scummvm-git-logs
mailing list