mirror of
https://github.com/coredns/coredns.git
synced 2026-04-05 19:55:32 -04:00
lint(revive): fix unused-parameter violations (#7980)
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
func control(network, address string, c syscall.RawConn) error {
|
||||
func control(_network, _address string, c syscall.RawConn) error {
|
||||
c.Control(func(fd uintptr) {
|
||||
const maxInt = int(^uint(0) >> 1)
|
||||
if fd > uintptr(maxInt) {
|
||||
|
||||
Reference in New Issue
Block a user