mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 11:21:10 +08:00
staticcheck: ineffective break statement
This commit is contained in:
parent
5b579cea47
commit
7b8c974dec
|
@ -369,7 +369,6 @@ func (vfs *VFS) WaitForWriters(timeout time.Duration) {
|
|||
tick.Reset(tickTime)
|
||||
select {
|
||||
case <-tick.C:
|
||||
break
|
||||
case <-deadline.C:
|
||||
fs.Errorf(nil, "Exiting even though %d writers active and %d cache items in use after %v\n%s", writers, cacheInUse, timeout, vfs.cache.Dump())
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue
Block a user