From f147a06bc0e531d737850f5ee686db10b1ab8074 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 21 Sep 2016 14:23:59 -0700 Subject: [PATCH] [DatFile] HTML encoded game names for mono worked, so added safeguards are no longer needed. --- SabreTools.Helper/Objects/Dat/DatFile.cs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/SabreTools.Helper/Objects/Dat/DatFile.cs b/SabreTools.Helper/Objects/Dat/DatFile.cs index b91a7218..3388103f 100644 --- a/SabreTools.Helper/Objects/Dat/DatFile.cs +++ b/SabreTools.Helper/Objects/Dat/DatFile.cs @@ -2288,13 +2288,6 @@ namespace SabreTools.Helper keys = sortable.Keys.ToList(); foreach (string key in keys) { - // If the dictionary somehow doesn't have the key in question, continue - if (!sortable.ContainsKey(key)) - { - logger.Warning("SortedDictionary does not contain key: " + key); - continue; - } - List sortedlist = sortable[key]; DatItem.Sort(ref sortedlist, norename); sortable[key] = sortedlist; @@ -2987,13 +2980,6 @@ namespace SabreTools.Helper foreach (string key in keys) { - // If the dictionary somehow doesn't have the key in question, continue - if (!sortable.ContainsKey(key)) - { - logger.Warning("SortedDictionary does not contain key: " + key); - continue; - } - List roms = sortable[key]; for (int index = 0; index < roms.Count; index++)