mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Fix a warning
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user