Mercurial > repos > IBBoard.WarFoundry.API
diff API/Factories/Xml/WarFoundryXmlFactory.cs @ 419:71fceea2725b
Code tidy-up - remove warnings
* Add missing GetHashcode() implementations
* Remove unused exception variables
* Use unused event
* Remove dead code
* Properly override some methods
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 25 Sep 2011 20:52:27 +0100 |
parents | ff7f1b319b4e |
children | 86725e88052e |
line wrap: on
line diff
--- a/API/Factories/Xml/WarFoundryXmlFactory.cs Sat Sep 24 11:59:39 2011 +0100 +++ b/API/Factories/Xml/WarFoundryXmlFactory.cs Sun Sep 25 20:52:27 2011 +0100 @@ -167,7 +167,7 @@ { raceFactory.CompleteLoading(race); } - catch (InvalidFileException ex) + catch (InvalidFileException) { WarFoundryLoader.GetDefault().RemoveRace(race); throw; @@ -180,7 +180,7 @@ { gameSystemFactory.CompleteLoading(system); } - catch (InvalidFileException ex) + catch (InvalidFileException) { WarFoundryLoader.GetDefault().RemoveGameSystem(system); throw;