fix unreferenced variable warning in SequenceProvider

This commit is contained in:
Chris Forbes
2010-01-05 12:21:51 +13:00
parent 512e56aec7
commit 78de1e2b04

View File

@@ -57,7 +57,7 @@ namespace OpenRa.Game.Graphics
public static Sequence GetSequence(string unitName, string sequenceName)
{
try { return units[unitName][sequenceName]; }
catch (KeyNotFoundException e)
catch (KeyNotFoundException)
{
throw new InvalidOperationException(
"Unit `{0}` does not have a sequence `{1}`".F(unitName, sequenceName));