mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-30 04:40:39 +00:00
EMI: shut up warnings
This commit is contained in:
parent
6a73da8b14
commit
ec792bbc0b
@ -259,8 +259,8 @@ void Lua_V2::PopText() {
|
||||
|
||||
void Lua_V2::GetSectorName() {
|
||||
lua_Object xObj = lua_getparam(1);
|
||||
lua_Object yObj = lua_getparam(2);
|
||||
lua_Object zObj = lua_getparam(3);
|
||||
/*lua_Object yObj =*/ lua_getparam(2);
|
||||
/*lua_Object zObj =*/ lua_getparam(3);
|
||||
|
||||
if (!lua_isnumber(xObj) || !lua_isnumber(xObj) || !lua_isnumber(xObj)) {
|
||||
lua_pushnil();
|
||||
@ -280,9 +280,9 @@ void Lua_V2::GetSectorName() {
|
||||
}
|
||||
|
||||
// Stub function for builtin functions not yet implemented
|
||||
static void stubWarning(const char *funcName) {
|
||||
/*static void stubWarning(const char *funcName) {
|
||||
warning("Stub function: %s", funcName);
|
||||
}
|
||||
}*/
|
||||
|
||||
static void stubError(const char *funcName) {
|
||||
error("Stub function: %s", funcName);
|
||||
|
@ -222,8 +222,8 @@ void Lua_V2::FreeSound() {
|
||||
void Lua_V2::PlayLoadedSound() {
|
||||
lua_Object idObj = lua_getparam(1);
|
||||
lua_Object bool1Obj = lua_getparam(2);
|
||||
lua_Object volumeObj = lua_getparam(3);
|
||||
lua_Object bool2Obj = lua_getparam(4);
|
||||
/*lua_Object volumeObj =*/ lua_getparam(3);
|
||||
/*lua_Object bool2Obj =*/ lua_getparam(4);
|
||||
|
||||
|
||||
if (!lua_isuserdata(idObj) || lua_tag(idObj) != MKTAG('A', 'I', 'F', 'F'))
|
||||
|
Loading…
Reference in New Issue
Block a user