lint: fix lint error unparam on clamp

This commit is contained in:
Maas Lalani 2022-09-02 21:39:01 -04:00
parent c9fe558a44
commit 808f879996
No known key found for this signature in database
GPG key ID: 5A6ED5CBF1A0A000

View file

@ -177,6 +177,7 @@ func matchAll(options []string) []fuzzy.Match {
return matches
}
//nolint:unparam
func clamp(min, max, val int) int {
if val < min {
return min