Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

staticcheck: redundant return statement

albertonyad8c94e98201
diff --git a/lib/cache/cache.go b/lib/cache/cache.go
index b8d323ff1..8e03819bc 100644
--- a/lib/cache/cache.go
+++ b/lib/cache/cache.go
@@ -236,7 +236,6 @@ func (c *Cache) Clear() {
delete(c.cache, key)
}
c.mu.Unlock()
- return
}
// Entries returns the number of entries in the cache