1
mirror of https://github.com/rclone/rclone synced 2024-11-24 01:26:25 +01:00

staticcheck: ineffective break statement

This commit is contained in:
albertony 2022-06-24 17:20:08 +02:00
parent 5b579cea47
commit 7b8c974dec

View File

@ -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