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

initialize variables (it makes coverity a bit happier)

This commit is contained in:
Ilya Shipitsin 2018-08-06 12:40:06 +05:00
parent 59000e04cc
commit e969749bc1
2 changed files with 3 additions and 3 deletions

View File

@ -2533,8 +2533,8 @@ bool EthProcessIpPacketInnerIpRaw(ETH *e, PKT *p)
// Respond if there is providable IP address // Respond if there is providable IP address
DHCP_OPTION_LIST ret; DHCP_OPTION_LIST ret;
LIST *o; LIST *o;
UINT hw_type; UINT hw_type = 0U;
UINT hw_addr_size; UINT hw_addr_size = 0U;
UINT new_ip = ip; UINT new_ip = ip;
IP default_dns; IP default_dns;

View File

@ -2426,7 +2426,7 @@ bool MakeDirExW(wchar_t *name)
wchar_t tmp[MAX_PATH]; wchar_t tmp[MAX_PATH];
wchar_t tmp2[MAX_PATH]; wchar_t tmp2[MAX_PATH];
UINT i; UINT i;
bool ret; bool ret = false;
// Validate arguments // Validate arguments
if (name == NULL) if (name == NULL)
{ {