EMI: shut up warnings

This commit is contained in:
Paweł Kołodziejski 2012-02-24 18:11:52 +01:00
parent 6a73da8b14
commit ec792bbc0b
2 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -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'))