diff options
author | Christopher Page | 2008-08-05 21:56:45 +0000 |
---|---|---|
committer | Christopher Page | 2008-08-05 21:56:45 +0000 |
commit | e30d16ddc25f784273ad20ca9833825580240a6f (patch) | |
tree | 6e813b2bd55d0b9e6f7a1296615e9333910e6dac | |
parent | 21cd277f13341375d9badc2c251426fc51448344 (diff) | |
download | scummvm-rg350-e30d16ddc25f784273ad20ca9833825580240a6f.tar.gz scummvm-rg350-e30d16ddc25f784273ad20ca9833825580240a6f.tar.bz2 scummvm-rg350-e30d16ddc25f784273ad20ca9833825580240a6f.zip |
Fixed more warnings
svn-id: r33649
-rw-r--r-- | engines/engine.cpp | 2 | ||||
-rw-r--r-- | engines/lure/sound.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/engines/engine.cpp b/engines/engine.cpp index ffc044a508..6943227594 100644 --- a/engines/engine.cpp +++ b/engines/engine.cpp @@ -228,7 +228,7 @@ int Engine::runDialog(Dialog &dialog) { pauseEngine(true); - int result = dialog.runModal(); + dialog.runModal(); pauseEngine(false); diff --git a/engines/lure/sound.cpp b/engines/lure/sound.cpp index a0fbcdbac2..569058b282 100644 --- a/engines/lure/sound.cpp +++ b/engines/lure/sound.cpp @@ -421,7 +421,6 @@ void SoundManager::musicInterface_Play(uint8 soundNumber, uint8 channelNumber, u return; bool isMusic = (soundNumber & 0x80) != 0; - uint8 volume = isMusic ? game.musicVolume() : game.sfxVolume(); if (!game.soundFlag()) // Don't play sounds if sound is turned off |