staticcheck: ineffective break statement

This commit is contained in:
albertony 2022-06-24 17:20:08 +02:00
parent 5b579cea47
commit 7b8c974dec
1 changed files with 0 additions and 1 deletions

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