mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 10:13:52 +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() {
|
doClose.Do(func() {
|
||||||
close(quit)
|
close(quit)
|
||||||
go func() {
|
go func() {
|
||||||
for _ = range in {
|
for range in {
|
||||||
traversing.Done()
|
traversing.Done()
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user