aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2019-08-15 22:52:29 +0200
committerEugene Sandulenko2019-09-03 17:17:33 +0200
commitf14edf90d4f7ecc2b869274aeaad3aeed06ad524 (patch)
treefaa2bae63c0af178627dc959d703499c7abdef7a /engines
parentbbcab297f72ff4a5f5d5e56cb2d86de355c97eae (diff)
downloadscummvm-rg350-f14edf90d4f7ecc2b869274aeaad3aeed06ad524.tar.gz
scummvm-rg350-f14edf90d4f7ecc2b869274aeaad3aeed06ad524.tar.bz2
scummvm-rg350-f14edf90d4f7ecc2b869274aeaad3aeed06ad524.zip
HDB: Remove two unused variables
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/lua-script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp
index c180778ac7..c8f562d579 100644
--- a/engines/hdb/lua-script.cpp
+++ b/engines/hdb/lua-script.cpp
@@ -1165,7 +1165,7 @@ static int startMusic(lua_State *L) {
g_hdb->_lua->checkParameters("startMusic", 1);
lua_pop(L, 1);
- bool error = g_hdb->_sound->startMusic((SoundType)s1);
+ g_hdb->_sound->startMusic((SoundType)s1);
return 0;
}
@@ -1180,7 +1180,7 @@ static int fadeInMusic(lua_State *L) {
g_hdb->_lua->checkParameters("fadeInMusic", 2);
lua_pop(L, 2);
- bool error = g_hdb->_sound->fadeInMusic((SoundType)s1, ramp);
+ g_hdb->_sound->fadeInMusic((SoundType)s1, ramp);
return 0;
}