lint: reenable revive unused-parameter check

Signed-off-by: Matt Souza <medsouz99@gmail.com>
This commit is contained in:
Matt Souza
2025-09-28 19:29:42 -04:00
parent 3747e3db3f
commit 090304a054
263 changed files with 723 additions and 724 deletions

View File

@ -9,12 +9,12 @@ import "fmt"
type SHMLockManager struct{}
// NewSHMLockManager is not supported on this platform
func NewSHMLockManager(path string, numLocks uint32) (Manager, error) {
func NewSHMLockManager(_ string, _ uint32) (Manager, error) {
return nil, fmt.Errorf("not supported")
}
// OpenSHMLockManager is not supported on this platform
func OpenSHMLockManager(path string, numLocks uint32) (Manager, error) {
func OpenSHMLockManager(_ string, _ uint32) (Manager, error) {
return nil, fmt.Errorf("not supported")
}
@ -24,7 +24,7 @@ func (m *SHMLockManager) AllocateLock() (Locker, error) {
}
// RetrieveLock is not supported on this platform
func (m *SHMLockManager) RetrieveLock(id string) (Locker, error) {
func (m *SHMLockManager) RetrieveLock(_ string) (Locker, error) {
return nil, fmt.Errorf("not supported")
}