mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 20:57:36 +03:00
the pointer is always not nil, no need to check it
This commit is contained in:
parent
bfad41165c
commit
d16f36a1e3
1 changed files with 0 additions and 3 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue