mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
libs/libc/netdb/lib_getaddrinfo.c: Fix a warning found in build testing.
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user