Commit 56b26e1d authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

iphlpapi: Zero-init prefix_len to avoid a compiler warning.

parent b7d24e22
......@@ -1057,6 +1057,7 @@ static DWORD gateway_and_prefix_addresses_alloc( IP_ADAPTER_ADDRESSES *aa, ULONG
if (flags & GAA_FLAG_INCLUDE_PREFIX)
{
memset( &sockaddr, 0, sizeof(sockaddr) );
prefix_len = 0;
if (family == AF_INET)
{
if (!key4->next_hop.s_addr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment