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

Merge PR #612: initialize variables (it makes coverity a bit happier)

This commit is contained in:
Davide Beatrici 2018-08-06 13:49:48 +02:00 committed by GitHub
commit 91bf0afb14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)
{ {