Core: Fix warnings

This commit is contained in:
Vincent-Michael
2014-06-28 22:43:35 +02:00
parent 5562f61b23
commit d15db5f7ea
9 changed files with 13 additions and 14 deletions
+3 -3
View File
@@ -1390,14 +1390,14 @@ public:
return true;
}
static bool HandleDebugPhaseCommand(ChatHandler* handler, char const* /*args*/)
static bool HandleDebugPhaseCommand(ChatHandler* /*handler*/, char const* /*args*/)
{
/*/
Unit* unit = handler->getSelectedUnit();
Player* player = handler->GetSession()->GetPlayer();
if (unit && unit->GetTypeId() == TYPEID_PLAYER)
player = unit->ToPlayer();
*/
return true;
}
};