diff --git a/OpenRA.Test/OpenRA.Game/ActorInfoTest.cs b/OpenRA.Test/OpenRA.Game/ActorInfoTest.cs index baf061886a..5aa28e23df 100644 --- a/OpenRA.Test/OpenRA.Game/ActorInfoTest.cs +++ b/OpenRA.Test/OpenRA.Game/ActorInfoTest.cs @@ -63,7 +63,7 @@ namespace OpenRA.Test try { - var i = actorInfo.TraitsInConstructOrder(); + actorInfo.TraitsInConstructOrder(); throw new Exception("Exception not thrown!"); } catch (Exception e) @@ -85,7 +85,7 @@ namespace OpenRA.Test try { - var i = actorInfo.TraitsInConstructOrder(); + actorInfo.TraitsInConstructOrder(); throw new Exception("Exception not thrown!"); } catch (Exception e)