mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 09:23:37 +00:00
AUDIO: Remove unused variable
Thanks to eientei for reporting this
This commit is contained in:
parent
da5c1cebf3
commit
9473b382b5
@ -166,7 +166,6 @@ void MidiParser_SMF::parseNextEvent(EventInfo &info) {
|
||||
bool MidiParser_SMF::loadMusic(byte *data, uint32 size) {
|
||||
uint32 len;
|
||||
byte midiType;
|
||||
uint32 totalSize;
|
||||
bool isGMF;
|
||||
|
||||
unloadMusic();
|
||||
@ -217,7 +216,6 @@ bool MidiParser_SMF::loadMusic(byte *data, uint32 size) {
|
||||
return false;
|
||||
}
|
||||
|
||||
totalSize = 0;
|
||||
int tracksRead = 0;
|
||||
while (tracksRead < _numTracks) {
|
||||
if (memcmp(pos, "MTrk", 4) && !isGMF) {
|
||||
@ -231,7 +229,6 @@ bool MidiParser_SMF::loadMusic(byte *data, uint32 size) {
|
||||
if (!isGMF) {
|
||||
pos += 4;
|
||||
len = read4high(pos);
|
||||
totalSize += len;
|
||||
pos += len;
|
||||
} else {
|
||||
// An SMF End of Track meta event must be placed
|
||||
|
Loading…
x
Reference in New Issue
Block a user