diff options
author | Paul Gilbert | 2012-11-13 20:40:24 +1100 |
---|---|---|
committer | Paul Gilbert | 2012-11-13 20:40:24 +1100 |
commit | 5f21d3d00a4b1f821d8fc98e37a31a872d835d08 (patch) | |
tree | 4e56335b4c2ff58fe7f4b89f3713806161f79ec4 | |
parent | db091123ee8f53b0a9cb4ce63f5fee3fc91100fa (diff) | |
download | scummvm-rg350-5f21d3d00a4b1f821d8fc98e37a31a872d835d08.tar.gz scummvm-rg350-5f21d3d00a4b1f821d8fc98e37a31a872d835d08.tar.bz2 scummvm-rg350-5f21d3d00a4b1f821d8fc98e37a31a872d835d08.zip |
HOPKINS: Fix gcc warning about shadowed variable
-rw-r--r-- | engines/hopkins/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/sound.cpp b/engines/hopkins/sound.cpp index 9cbfa39f71..13979c5cd8 100644 --- a/engines/hopkins/sound.cpp +++ b/engines/hopkins/sound.cpp @@ -293,7 +293,7 @@ void SoundManager::LOAD_MUSIC(const Common::String &file) { s[2] = '\0'; mwavIndex = atol(&s[0]); - Common::String filename = Common::String::format("%s_%s.WAV", file.c_str(), &s[0]); + filename = Common::String::format("%s_%s.WAV", file.c_str(), &s[0]); LOAD_MSAMPLE(mwavIndex, filename); assert(destIndex < MUSIC_WAVE_COUNT); |