staticcheck: redundant return statement
This commit is contained in:
parent
e5bf6a813c
commit
ad8c94e982
1 changed files with 0 additions and 1 deletions
1
lib/cache/cache.go
vendored
1
lib/cache/cache.go
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue