Reordered variable initialization to match parameter orders

This commit is contained in:
Seednode 2022-10-25 09:40:27 -05:00
parent 3801421567
commit 44972fde78
1 changed files with 2 additions and 2 deletions

View File

@ -419,11 +419,11 @@ func prepareDirectories(files *Files, sort string) []string {
} }
func pickFile(args []string, filters *Filters, sort string) (string, error) { func pickFile(args []string, filters *Filters, sort string) (string, error) {
stats := Stats{}
files := Files{} files := Files{}
files.List = make(map[string][]string) files.List = make(map[string][]string)
stats := Stats{}
concurrency := Concurrency{} concurrency := Concurrency{}
concurrency.DirectoryScans = make(chan int, maxDirectoryScans) concurrency.DirectoryScans = make(chan int, maxDirectoryScans)
concurrency.FileScans = make(chan int, maxFileScans) concurrency.FileScans = make(chan int, maxFileScans)