fs/walk: fix new golint warning about unused variables in range

This commit is contained in:
Nick Craig-Wood 2018-03-02 17:01:58 +00:00
parent 7d4da1c66a
commit e0eb666dbf

View File

@ -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()
}
}()