add the unparam linter

This commit is contained in:
Marten Seemann
2019-09-13 13:29:12 +07:00
parent c8aed2861f
commit ab2b26a5cb
25 changed files with 45 additions and 48 deletions

View File

@@ -356,7 +356,7 @@ func (c *client) handleVersionNegotiationPacket(p *receivedPacket) {
c.initialPacketNumber = c.session.closeForRecreating()
}
func (c *client) createNewTLSSession(version protocol.VersionNumber) error {
func (c *client) createNewTLSSession(_ protocol.VersionNumber) error {
params := &handshake.TransportParameters{
InitialMaxStreamDataBidiRemote: protocol.InitialMaxStreamData,
InitialMaxStreamDataBidiLocal: protocol.InitialMaxStreamData,