From 9545d86440f059d365fc41186d18748afab0f8fe Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 6 Jan 2025 12:33:15 -0500 Subject: [PATCH] Remove now-unnecessary null check --- SabreTools.DatItems/DatItemTool.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/SabreTools.DatItems/DatItemTool.cs b/SabreTools.DatItems/DatItemTool.cs index 37229fb7..91c8b677 100644 --- a/SabreTools.DatItems/DatItemTool.cs +++ b/SabreTools.DatItems/DatItemTool.cs @@ -287,10 +287,6 @@ namespace SabreTools.DatItems int nodumpCount = 0; foreach (DatItem item in infiles) { - // If we somehow have a null item, skip - if (item == null) - continue; - // If we don't have a Disk, File, Media, or Rom, we skip checking for duplicates if (item is not Disk && item is not Formats.File && item is not Media && item is not Rom) continue;