Fix a warning

This commit is contained in:
Gregory Nutt 2015-07-10 14:53:30 -06:00
parent 23d8ab0fb1
commit 89e91333af

View File

@ -443,7 +443,9 @@ errorout_with_herrnocode:
int gethostbyname_r(FAR const char *name, FAR struct hostent *host,
FAR char *buf, size_t buflen, int *h_errnop)
{
#ifdef CONFIG_NETDB_DNSCLIENT
int ret;
#endif
DEBUGASSERT(name != NULL && host != NULL && buf != NULL);