1
0
mirror of https://github.com/rclone/rclone.git synced 2025-10-30 23:17:59 +02: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