mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-23 06:35:57 +00:00
test_etharp: Fix warning about braces
../../lwip-trunk/test/unit/etharp/test_etharp.c:16:8: warning: missing braces around initializer [-Wmissing-braces] struct eth_addr test_ethaddr = {1,1,1,1,1,1}; ^
This commit is contained in:
parent
dbdeca3032
commit
38e3299675
|
@ -13,10 +13,10 @@
|
||||||
|
|
||||||
static struct netif test_netif;
|
static struct netif test_netif;
|
||||||
static ip4_addr_t test_ipaddr, test_netmask, test_gw;
|
static ip4_addr_t test_ipaddr, test_netmask, test_gw;
|
||||||
struct eth_addr test_ethaddr = {1,1,1,1,1,1};
|
struct eth_addr test_ethaddr = {{1,1,1,1,1,1}};
|
||||||
struct eth_addr test_ethaddr2 = {1,1,1,1,1,2};
|
struct eth_addr test_ethaddr2 = {{1,1,1,1,1,2}};
|
||||||
struct eth_addr test_ethaddr3 = {1,1,1,1,1,3};
|
struct eth_addr test_ethaddr3 = {{1,1,1,1,1,3}};
|
||||||
struct eth_addr test_ethaddr4 = {1,1,1,1,1,4};
|
struct eth_addr test_ethaddr4 = {{1,1,1,1,1,4}};
|
||||||
static int linkoutput_ctr;
|
static int linkoutput_ctr;
|
||||||
|
|
||||||
/* Helper functions */
|
/* Helper functions */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user