mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 20:39:18 +08:00
fs/walk: fix new golint warning about unused variables in range
This commit is contained in:
parent
7d4da1c66a
commit
e0eb666dbf
|
@ -103,7 +103,7 @@ func walk(f fs.Fs, path string, includeAll bool, maxLevel int, fn Func, listDir
|
|||
doClose.Do(func() {
|
||||
close(quit)
|
||||
go func() {
|
||||
for _ = range in {
|
||||
for range in {
|
||||
traversing.Done()
|
||||
}
|
||||
}()
|
||||
|
|
Loading…
Reference in New Issue
Block a user