From 45d6e026f871b543d83d70aed9ce9f2f6f97df40 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Tue, 14 Jan 2025 00:16:41 -0500 Subject: [PATCH] Region list is never null --- SabreTools.DatFiles/DatFile.Filtering.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/SabreTools.DatFiles/DatFile.Filtering.cs b/SabreTools.DatFiles/DatFile.Filtering.cs index 9174c185..840ab9ac 100644 --- a/SabreTools.DatFiles/DatFile.Filtering.cs +++ b/SabreTools.DatFiles/DatFile.Filtering.cs @@ -223,9 +223,6 @@ namespace SabreTools.DatFiles /// Applies to private void SetOneGamePerRegionImpl(List regionList) { - // If we have null region list, make it empty - regionList ??= []; - // For sake of ease, the first thing we want to do is bucket by game BucketBy(ItemKey.Machine, DedupeType.None, norename: true); @@ -307,9 +304,6 @@ namespace SabreTools.DatFiles /// Applies to private void SetOneGamePerRegionImplDB(List regionList) { - // If we have null region list, make it empty - regionList ??= []; - // For sake of ease, the first thing we want to do is bucket by game BucketBy(ItemKey.Machine, DedupeType.None, norename: true);