Fix clang warnings about variable usage

This commit is contained in:
Rochet2
2017-04-13 00:51:17 +03:00
parent 4cc5e42562
commit 00eef91aa2
7 changed files with 7 additions and 27 deletions

View File

@@ -289,7 +289,7 @@ namespace LuaGameObject
*
* The gameobject may be automatically respawned by the core
*/
int Despawn(lua_State* L, GameObject* go)
int Despawn(lua_State* /*L*/, GameObject* go)
{
go->SetLootState(GO_JUST_DEACTIVATED);
return 0;
@@ -298,7 +298,7 @@ namespace LuaGameObject
/**
* Respawns a [GameObject]
*/
int Respawn(lua_State* L, GameObject* go)
int Respawn(lua_State* /*L*/, GameObject* go)
{
go->Respawn();
return 0;