cleaned up compiler warnings

This commit is contained in:
Chris Forbes
2010-02-18 20:32:34 +13:00
parent c4329aec29
commit 3237485055
26 changed files with 31 additions and 83 deletions

View File

@@ -71,8 +71,6 @@ namespace OpenRa.Traits
// Pick the closed deploy direction to turn to
if (self.traits.Contains<Unit>())
{
var unit = self.traits.Get<Unit>();
// TODO: Pick the closest deploy direction
var bestDir = info.DeployDirections[0];