libs/libc/netdb/lib_getaddrinfo.c: Fix a warning found in build testing.

This commit is contained in:
Gregory Nutt 2018-10-02 11:16:47 -06:00
parent b9823ce1d7
commit faefa6cd9f

View File

@ -193,7 +193,6 @@ int getaddrinfo(FAR const char *hostname, FAR const char *servname,
if ((flags & AI_PASSIVE) != 0 && hostname == NULL)
{
struct in6_addr addr;
int ret;
memset(&addr, 0, sizeof(struct in6_addr));