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

View File

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