Skip to content

Commit 3426e04

Browse files
committed
chore: name "_" for unused parameters
1 parent 3979f1d commit 3426e04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/pool/conn_check_dummy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import (
1010
// errUnexpectedRead is placeholder error variable for non-unix build constraints
1111
var errUnexpectedRead = errors.New("unexpected read from socket")
1212

13-
func connCheck(conn net.Conn) error {
13+
func connCheck(_ net.Conn) error {
1414
return nil
1515
}
1616

1717
// since we can't check for data on the socket, we just assume there is some
18-
func maybeHasData(conn net.Conn) bool {
18+
func maybeHasData(_ net.Conn) bool {
1919
return true
2020
}

0 commit comments

Comments
 (0)