mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
apps/nshlib/: In netcommds.c, the UNUSED() macro may be applied to an undefined symbol when IPv6 is enabled but IPv4 is not.
This commit is contained in:
@@ -947,6 +947,8 @@ int cmd_ifconfig(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
|||||||
UNUSED(hostip);
|
UNUSED(hostip);
|
||||||
UNUSED(mask);
|
UNUSED(mask);
|
||||||
UNUSED(gwip);
|
UNUSED(gwip);
|
||||||
|
#endif
|
||||||
|
#ifdef CONFIG_NET_IPv4
|
||||||
UNUSED(gip);
|
UNUSED(gip);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user