diff --git a/test/unit/core/test_mem.c b/test/unit/core/test_mem.c index 98b29d2a..10574c05 100644 --- a/test/unit/core/test_mem.c +++ b/test/unit/core/test_mem.c @@ -92,6 +92,7 @@ START_TEST(test_mem_random) int x; int size; int freestep; + LWIP_UNUSED_ARG(_i); fail_unless(lwip_stats.mem.used == 0); diff --git a/test/unit/tcp/tcp_helper.c b/test/unit/tcp/tcp_helper.c index ff503db3..f3b98be9 100644 --- a/test/unit/tcp/tcp_helper.c +++ b/test/unit/tcp/tcp_helper.c @@ -256,7 +256,7 @@ void test_tcp_input(struct pbuf *p, struct netif *inp) } static err_t test_tcp_netif_output(struct netif *netif, struct pbuf *p, - ip_addr_t *ipaddr) + const ip_addr_t *ipaddr) { struct test_tcp_txcounters *txcounters = (struct test_tcp_txcounters*)netif->state; LWIP_UNUSED_ARG(ipaddr);