[ALL] Make Parse use the Dat as a ref

All cases where this was being used, it was being assigned back to the original datdata object. This is not necessary.
This commit is contained in:
Matt Nadareski
2016-09-18 21:05:48 -07:00
parent ffbd416174
commit 22e60c26e0
7 changed files with 15 additions and 17 deletions

View File

@@ -254,7 +254,7 @@ namespace SabreTools
Dat datdata = new Dat();
foreach (string datfile in datfiles)
{
datdata = DatTools.Parse(datfile, 99, 99, datdata, logger, keep: true, softlist: true);
DatTools.Parse(datfile, 99, 99, ref datdata, logger, keep: true, softlist: true);
}
SimpleSort ss = new SimpleSort(datdata, inputs, outDir, tempDir, quickScan, toFolder, verify,