Eliminate a warning detected by nuttx/tools/testbuild.sh

This commit is contained in:
Gregory Nutt 2015-07-22 14:11:25 -06:00
parent fbcdb663f9
commit ab37a759d8
3 changed files with 3 additions and 3 deletions

2
arch

@ -1 +1 @@
Subproject commit 3b242b5837762f07e74b5d6faafdb294bf45d24b
Subproject commit 0321c31ebbf4e8f03f84652f6d168272e5b003bf

@ -1 +1 @@
Subproject commit cf140990d30d522226d4705b3a42fecde8471738
Subproject commit 88c720dd2b0641f4fc549d0dac5064bae8b35efe

View File

@ -739,7 +739,7 @@ int dns_bind(void)
int dns_query(int sd, FAR const char *hostname, FAR struct sockaddr *addr,
FAR socklen_t *addrlen)
{
#if defined(CONFIG_NET_IPv4) && defined(CONFIG_NET_IPv4)
#if defined(CONFIG_NET_IPv4) && defined(CONFIG_NET_IPv6)
int noipv4 = false;
int noipv6 = false;
#endif