diff options
author | Filippos Karapetis | 2013-05-01 01:49:51 +0300 |
---|---|---|
committer | Filippos Karapetis | 2013-05-01 01:51:12 +0300 |
commit | b8eaefbf8a7d5e428c2eb9761d176e8f03e39994 (patch) | |
tree | c234ba7e6da8801d23dff0e1434990c0c91ff806 /engines/sci/sound/drivers/fb01.cpp | |
parent | 5b25c40c4041538f7e050211039b81af8cf77eba (diff) | |
download | scummvm-rg350-b8eaefbf8a7d5e428c2eb9761d176e8f03e39994.tar.gz scummvm-rg350-b8eaefbf8a7d5e428c2eb9761d176e8f03e39994.tar.bz2 scummvm-rg350-b8eaefbf8a7d5e428c2eb9761d176e8f03e39994.zip |
SCI: Silence some false positive warnings - CID 1003539, 1003540, 1003541, 1003542
Diffstat (limited to 'engines/sci/sound/drivers/fb01.cpp')
-rw-r--r-- | engines/sci/sound/drivers/fb01.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/drivers/fb01.cpp b/engines/sci/sound/drivers/fb01.cpp index 9f3945bbec..b16473e62e 100644 --- a/engines/sci/sound/drivers/fb01.cpp +++ b/engines/sci/sound/drivers/fb01.cpp @@ -250,7 +250,7 @@ int MidiPlayer_Fb01::findVoice(int channel) { } if (voice == -1) { - if (oldestVoice != -1) { + if (oldestVoice >= 0) { voiceOff(oldestVoice); voice = oldestVoice; } else { |