diff options
author | Max Horn | 2009-07-01 20:51:34 +0000 |
---|---|---|
committer | Max Horn | 2009-07-01 20:51:34 +0000 |
commit | c4f629533082b065d8399a38822cd9cce08ccce8 (patch) | |
tree | 01ba5c8ae296ef1eec7a9bd089284cf921777d1b /engines/sci | |
parent | a6b57dc3a986f749ca8f915b461b184d48390757 (diff) | |
download | scummvm-rg350-c4f629533082b065d8399a38822cd9cce08ccce8.tar.gz scummvm-rg350-c4f629533082b065d8399a38822cd9cce08ccce8.tar.bz2 scummvm-rg350-c4f629533082b065d8399a38822cd9cce08ccce8.zip |
Fixed some more warnings observed on buildbot
svn-id: r42010
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/resource.cpp | 2 | ||||
-rw-r--r-- | engines/sci/sfx/core.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index 3c377e8ef2..52c079e829 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -711,7 +711,7 @@ void ResourceManager::unlockResource(Resource *res) { int ResourceManager::detectMapVersion() { Common::File file; byte buff[6]; - ResourceSource *rsrc; + ResourceSource *rsrc= 0; for (Common::List<ResourceSource *>::iterator it = _sources.begin(); it != _sources.end(); ++it) { rsrc = *it; diff --git a/engines/sci/sfx/core.cpp b/engines/sci/sfx/core.cpp index 9bf7730fc9..95d79b3666 100644 --- a/engines/sci/sfx/core.cpp +++ b/engines/sci/sfx/core.cpp @@ -1130,7 +1130,7 @@ static byte* readSOLAudio(Common::SeekableReadStream *audioStream, uint32 &size, Audio::AudioStream* SfxState::getAudioStream(uint32 number, uint32 volume, int *sampleLen) { Audio::AudioStream *audioStream = 0; - uint32 size; + uint32 size = 0; byte *data = 0; byte flags = 0; Sci::Resource* audioRes; |