Remove braces from one-line "for" loop

This commit is contained in:
NintenHero 2024-08-11 17:00:59 -05:00 committed by GitHub
parent 44992f3647
commit f80e0fdedb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -20,9 +20,7 @@ namespace Warspear_Online_Extractor
System.Collections.Generic.List<Subfile> subfiles = new();
for (int i = 0; i < count; i++)
{
subfiles.Add(new());
}
string path = Path.GetDirectoryName(args[0]) + "//" + Path.GetFileNameWithoutExtension(args[0]) + "//";
foreach (Subfile file in subfiles)