Fix linux warnings Implement #72

This commit is contained in:
Rochet2
2014-06-25 23:29:07 +03:00
committed by Foereaper
parent aa78932fd1
commit 580b3f7a25
17 changed files with 277 additions and 62 deletions

View File

@@ -104,7 +104,6 @@ namespace LuaAura
int SetStackAmount(lua_State* L, Aura* aura)
{
int amount = Eluna::CHECKVAL<int>(L, 2);
int duration = Eluna::CHECKVAL<int>(L, 2);
#ifdef MANGOS
aura->GetHolder()->SetStackAmount(amount);
#else
@@ -113,7 +112,7 @@ namespace LuaAura
return 0;
}
int Remove(lua_State* L, Aura* aura)
int Remove(lua_State* /*L*/, Aura* aura)
{
#ifdef MANGOS
aura->GetHolder()->RemoveAura(aura->GetEffIndex());