Rework group methods, fix warnings and fix typos

This commit is contained in:
Rochet2
2015-06-22 01:02:26 +03:00
parent 51d6454f04
commit 85cd8e1900
7 changed files with 187 additions and 62 deletions

View File

@@ -1755,7 +1755,7 @@ namespace LuaUnit
*
* @param bool apply = true
*/
int SetRooted(Eluna* E, lua_State* L, Unit* unit)
int SetRooted(Eluna* /*E*/, lua_State* L, Unit* unit)
{
bool apply = Eluna::CHECKVAL<bool>(L, 2, true);
#ifndef TRINITY
@@ -1771,7 +1771,7 @@ namespace LuaUnit
*
* @param bool apply = true
*/
int SetConfused(Eluna* E, lua_State* L, Unit* unit)
int SetConfused(Eluna* /*E*/, lua_State* L, Unit* unit)
{
bool apply = Eluna::CHECKVAL<bool>(L, 2, true);
#ifndef TRINITY
@@ -1787,7 +1787,7 @@ namespace LuaUnit
*
* @param bool apply = true
*/
int SetFeared(Eluna* E, lua_State* L, Unit* unit)
int SetFeared(Eluna* /*E*/, lua_State* L, Unit* unit)
{
bool apply = Eluna::CHECKVAL<bool>(L, 2, true);
#ifndef TRINITY