libs/libc/netdb/lib_getaddrinfo.c: Fix a warning found in build testing.
This commit is contained in:
parent
b9823ce1d7
commit
faefa6cd9f
@ -193,7 +193,6 @@ int getaddrinfo(FAR const char *hostname, FAR const char *servname,
|
|||||||
if ((flags & AI_PASSIVE) != 0 && hostname == NULL)
|
if ((flags & AI_PASSIVE) != 0 && hostname == NULL)
|
||||||
{
|
{
|
||||||
struct in6_addr addr;
|
struct in6_addr addr;
|
||||||
int ret;
|
|
||||||
|
|
||||||
memset(&addr, 0, sizeof(struct in6_addr));
|
memset(&addr, 0, sizeof(struct in6_addr));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user