apps/nslib: Try to eliminate and uninitialized variable warning.
This commit is contained in:
parent
e853fb45ce
commit
36d6348368
@ -550,7 +550,7 @@ int cmd_ifconfig(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
||||
{
|
||||
#ifdef CONFIG_NET_IPv4
|
||||
struct in_addr addr;
|
||||
in_addr_t gip;
|
||||
in_addr_t gip = INADDR_ANY;
|
||||
#endif
|
||||
#ifdef CONFIG_NET_IPv6
|
||||
struct in6_addr addr6;
|
||||
|
Loading…
Reference in New Issue
Block a user