Reordered variable initialization to match parameter orders
This commit is contained in:
parent
3801421567
commit
44972fde78
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue