Fix linter errors

golangci-lint upgrade to v1.56.2 added more checks

Relates to pion/.goassets#201
This commit is contained in:
Sean DuBois
2024-03-16 21:09:38 -04:00
parent 936c6e6dab
commit fda6c4f836
26 changed files with 67 additions and 67 deletions

View File

@@ -75,7 +75,7 @@ func TestICETransport_OnSelectedCandidatePairChange(t *testing.T) {
})
senderCalledCandidateChange := int32(0)
pcOffer.SCTP().Transport().ICETransport().OnSelectedCandidatePairChange(func(pair *ICECandidatePair) {
pcOffer.SCTP().Transport().ICETransport().OnSelectedCandidatePairChange(func(*ICECandidatePair) {
atomic.StoreInt32(&senderCalledCandidateChange, 1)
})