1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 17:39:53 +03:00

src/Cedar/Virtual.c: mute Coverity warning

4272                FreeBlock(block);
    CID 375153 (#1 of 1): Uninitialized scalar variable (UNINIT)44. uninit_use: Using uninitialized value send_size.
4273                if (send_size == 0)
This commit is contained in:
Ilya Shipitsin 2023-01-14 21:38:28 +06:00
parent 58c0e1ded4
commit 6a5f4b0dfd

View File

@ -4214,7 +4214,7 @@ bool NatTransactUdp(VH *v, NAT_ENTRY *n)
// Try to send data to the UDP socket // Try to send data to the UDP socket
while (block = GetNext(n->UdpSendQueue)) while (block = GetNext(n->UdpSendQueue))
{ {
UINT send_size; UINT send_size = 0;
bool is_nbtdgm = false; bool is_nbtdgm = false;
LIST *local_ip_list = NULL; LIST *local_ip_list = NULL;