diff options
author | Paweł Kołodziejski | 2004-01-18 20:11:52 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2004-01-18 20:11:52 +0000 |
commit | ce3e6d7fd850be428eb4ded4668920b57e61dc82 (patch) | |
tree | 964634630391ed3312ebb5373d7f5cceb71bdb7c /sky | |
parent | 4ff60e231d238dcfa27f1a4a375f5ccdb000ad50 (diff) | |
download | scummvm-rg350-ce3e6d7fd850be428eb4ded4668920b57e61dc82.tar.gz scummvm-rg350-ce3e6d7fd850be428eb4ded4668920b57e61dc82.tar.bz2 scummvm-rg350-ce3e6d7fd850be428eb4ded4668920b57e61dc82.zip |
fix warning
svn-id: r12498
Diffstat (limited to 'sky')
-rw-r--r-- | sky/music/adlibchannel.cpp | 2 | ||||
-rw-r--r-- | sky/music/gmchannel.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sky/music/adlibchannel.cpp b/sky/music/adlibchannel.cpp index 03dd2dae8d..307ca72f9c 100644 --- a/sky/music/adlibchannel.cpp +++ b/sky/music/adlibchannel.cpp @@ -109,7 +109,7 @@ void AdlibChannel::stopNote(void) { int32 AdlibChannel::getNextEventTime(void) { int32 retV = 0; - uint8 cnt, lVal; + uint8 cnt, lVal = 0; for (cnt = 0; cnt < 4; cnt++) { lVal = _musicData[_channelData.eventDataPtr]; _channelData.eventDataPtr++; diff --git a/sky/music/gmchannel.cpp b/sky/music/gmchannel.cpp index 1731a53780..4737cedf34 100644 --- a/sky/music/gmchannel.cpp +++ b/sky/music/gmchannel.cpp @@ -65,7 +65,7 @@ void GmChannel::stopNote(void) { int32 GmChannel::getNextEventTime(void) { int32 retV = 0; - uint8 cnt, lVal; + uint8 cnt, lVal = 0; for (cnt = 0; cnt < 4; cnt++) { lVal = _musicData[_channelData.eventDataPtr]; _channelData.eventDataPtr++; |