aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorJohannes Schickel2009-05-26 10:10:45 +0000
committerJohannes Schickel2009-05-26 10:10:45 +0000
commit4d66b5531626cf72ade256766f4da48cbf74cdbf (patch)
treea7709b58721088902660ef1be8fb42df4c477768 /engines/sci/engine
parent780899fb0e0be87bd87386fc5f6aeffb4bc30c42 (diff)
downloadscummvm-rg350-4d66b5531626cf72ade256766f4da48cbf74cdbf.tar.gz
scummvm-rg350-4d66b5531626cf72ade256766f4da48cbf74cdbf.tar.bz2
scummvm-rg350-4d66b5531626cf72ade256766f4da48cbf74cdbf.zip
Fix g++ warning.
svn-id: r40905
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/ksound.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/engine/ksound.cpp b/engines/sci/engine/ksound.cpp
index b6ac628a6b..e649a8818a 100644
--- a/engines/sci/engine/ksound.cpp
+++ b/engines/sci/engine/ksound.cpp
@@ -1008,8 +1008,7 @@ reg_t kDoAudio(EngineState *s, int funct_nr, int argc, reg_t *argv) {
case kSci1AudioPlay: {
s->sound.audioResource->stop();
- Audio::AudioStream *audioStream =
- audioStream = s->sound.audioResource->getAudioStream(UKPV(1), &sampleLen);
+ Audio::AudioStream *audioStream = s->sound.audioResource->getAudioStream(UKPV(1), &sampleLen);
if (audioStream)
mixer->playInputStream(Audio::Mixer::kSpeechSoundType, s->sound.audioResource->getAudioHandle(), audioStream);