Skip to content

Commit

Permalink
staticcheck: redundant return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
albertony committed Jul 4, 2022
1 parent e5bf6a8 commit ad8c94e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ad8c94e

Please sign in to comment.