From 44972fde7822a5eddb1f19bf1a84e6cb1d176d95 Mon Sep 17 00:00:00 2001 From: Seednode Date: Tue, 25 Oct 2022 09:40:27 -0500 Subject: [PATCH] Reordered variable initialization to match parameter orders --- cmd/files.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/files.go b/cmd/files.go index 3ad3f43..85d91ae 100644 --- a/cmd/files.go +++ b/cmd/files.go @@ -419,11 +419,11 @@ func prepareDirectories(files *Files, sort string) []string { } func pickFile(args []string, filters *Filters, sort string) (string, error) { - stats := Stats{} - files := Files{} files.List = make(map[string][]string) + stats := Stats{} + concurrency := Concurrency{} concurrency.DirectoryScans = make(chan int, maxDirectoryScans) concurrency.FileScans = make(chan int, maxFileScans)