Core: Remove "may be used uninitialized in this function", "unused parameter ‘xxx’" and "'xxx' defined but not used" warnings

--HG--
branch : trunk
This commit is contained in:
Spp
2010-08-21 23:08:54 +02:00
parent a136403dee
commit 572f7bbd1d
20 changed files with 37 additions and 31 deletions
@@ -262,7 +262,9 @@ void FlightPathMovementGenerator::Finalize(Player & player)
{
player.clearUnitState(UNIT_STAT_IN_FLIGHT);
float x, y, z;
float x = 0;
float y = 0;
float z = 0;
i_destinationHolder.GetLocationNow(player.GetBaseMap(), x, y, z);
player.SetPosition(x, y, z, player.GetOrientation());