1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-12-25 09:39:52 +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
DHCP_OPTION_LIST ret;
LIST *o;
UINT hw_type;
UINT hw_addr_size;
UINT hw_type = 0U;
UINT hw_addr_size = 0U;
UINT new_ip = ip;
IP default_dns;

View File

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