mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00: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:
parent
12baeaa22d
commit
467a7980f0
1 changed files with 2 additions and 0 deletions
|
|
@ -947,6 +947,8 @@ int cmd_ifconfig(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
|||
UNUSED(hostip);
|
||||
UNUSED(mask);
|
||||
UNUSED(gwip);
|
||||
#endif
|
||||
#ifdef CONFIG_NET_IPv4
|
||||
UNUSED(gip);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue