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)