forked from quic-go/quic-go
the pointer is always not nil, no need to check it
This commit is contained in:
@@ -323,9 +323,6 @@ func (p *packetPacker) MaybePackAckPacket(handshakeConfirmed bool) (*packedPacke
|
||||
}
|
||||
encLevel = protocol.Encryption1RTT
|
||||
}
|
||||
if ack == nil {
|
||||
return nil, nil
|
||||
}
|
||||
payload := &payload{
|
||||
ack: ack,
|
||||
length: ack.Length(p.version),
|
||||
|
||||
Reference in New Issue
Block a user