mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Remove now-unnecessary null check
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user