Remove unused random variable

pull/8/head
Netshroud 11 years ago
parent 155196ec7f
commit 6f8fa5a376

@ -668,9 +668,7 @@ namespace DepotDownloader
complete_download_size += file.TotalSize; complete_download_size += file.TotalSize;
} }
}); });
var rand = new Random();
filesAfterExclusions.Where(f => !f.Flags.HasFlag(EDepotFileFlag.Directory)) filesAfterExclusions.Where(f => !f.Flags.HasFlag(EDepotFileFlag.Directory))
.AsParallel().WithCancellation(cts.Token).WithDegreeOfParallelism(Config.MaxDownloads) .AsParallel().WithCancellation(cts.Token).WithDegreeOfParallelism(Config.MaxDownloads)
.ForAll(file => .ForAll(file =>

Loading…
Cancel
Save