aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2009-12-24 18:43:18 +0000
committerMatthew Hoops2009-12-24 18:43:18 +0000
commit20c39b05eacbb761133820310422801c35c7a2c8 (patch)
tree1dde5dd78d2b17db9c69039a5a4bb470c66b39b2
parent7bf92fc7957469cd35f438cd9b602ac2e7d26393 (diff)
downloadscummvm-rg350-20c39b05eacbb761133820310422801c35c7a2c8.tar.gz
scummvm-rg350-20c39b05eacbb761133820310422801c35c7a2c8.tar.bz2
scummvm-rg350-20c39b05eacbb761133820310422801c35c7a2c8.zip
Silence some gcc warnings.
svn-id: r46535
-rw-r--r--engines/sci/sfx/music.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/sfx/music.cpp b/engines/sci/sfx/music.cpp
index cfd38dfdcc..5572589517 100644
--- a/engines/sci/sfx/music.cpp
+++ b/engines/sci/sfx/music.cpp
@@ -574,6 +574,8 @@ void MidiParser_SCI::parseNextEvent(EventInfo &info) {
case SCI_VERSION_1_LATE:
_pSnd->dataInc++;
break;
+ default:
+ break;
}
}
// BF 50 x - set reverb to x
@@ -754,7 +756,7 @@ byte *MidiParser_SCI::midiFilterChannels(int channelMask) {
byte curChannel, curByte;
byte command, lastCommand;
int delta = 0;
- int dataLeft = channel->size;
+ //int dataLeft = channel->size;
int midiParamCount;
_mixedData = filterData;