From 6f8fa5a37617951be547d732064a7ddfd7838839 Mon Sep 17 00:00:00 2001 From: Netshroud Date: Sat, 29 Nov 2014 23:55:30 +1100 Subject: [PATCH] Remove unused random variable --- DepotDownloader/ContentDownloader.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/DepotDownloader/ContentDownloader.cs b/DepotDownloader/ContentDownloader.cs index f8146935..98bf4c26 100644 --- a/DepotDownloader/ContentDownloader.cs +++ b/DepotDownloader/ContentDownloader.cs @@ -668,9 +668,7 @@ namespace DepotDownloader complete_download_size += file.TotalSize; } }); - - var rand = new Random(); - + filesAfterExclusions.Where(f => !f.Flags.HasFlag(EDepotFileFlag.Directory)) .AsParallel().WithCancellation(cts.Token).WithDegreeOfParallelism(Config.MaxDownloads) .ForAll(file =>