fix warnings about unused local variables

This commit is contained in:
Matthias Mailänder
2015-08-03 17:19:00 +02:00
parent c9837280b9
commit ddb01b6ae5

View File

@@ -63,7 +63,7 @@ namespace OpenRA.Test
try try
{ {
var i = actorInfo.TraitsInConstructOrder(); actorInfo.TraitsInConstructOrder();
throw new Exception("Exception not thrown!"); throw new Exception("Exception not thrown!");
} }
catch (Exception e) catch (Exception e)
@@ -85,7 +85,7 @@ namespace OpenRA.Test
try try
{ {
var i = actorInfo.TraitsInConstructOrder(); actorInfo.TraitsInConstructOrder();
throw new Exception("Exception not thrown!"); throw new Exception("Exception not thrown!");
} }
catch (Exception e) catch (Exception e)