mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Use foreach instead of unnecessary for
This commit is contained in:
@@ -285,10 +285,8 @@ namespace SabreTools.DatItems
|
||||
|
||||
// Then deduplicate them by checking to see if data matches previous saved roms
|
||||
int nodumpCount = 0;
|
||||
for (int f = 0; f < infiles.Count; f++)
|
||||
foreach (DatItem item in infiles)
|
||||
{
|
||||
DatItem item = infiles[f];
|
||||
|
||||
// If we somehow have a null item, skip
|
||||
if (item == null)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user