From ae4a38f5d8173170294aa96790e266b0244a1fd3 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Fri, 26 Aug 2011 16:44:02 +0000 Subject: [PATCH] Remove unused variable warning. --- Demo/Common/ethernet/lwip-1.4.0/ports/win32/ethernetif.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Demo/Common/ethernet/lwip-1.4.0/ports/win32/ethernetif.c b/Demo/Common/ethernet/lwip-1.4.0/ports/win32/ethernetif.c index 145d1c0bc2..ade2398ebc 100644 --- a/Demo/Common/ethernet/lwip-1.4.0/ports/win32/ethernetif.c +++ b/Demo/Common/ethernet/lwip-1.4.0/ports/win32/ethernetif.c @@ -215,6 +215,8 @@ struct eth_hdr *pxHeader; u16_t usTotalLength = p->tot_len - ETH_PAD_SIZE; err_t xReturn = ERR_OK; + ( void ) pxNetIf; + #if defined(LWIP_DEBUG) && LWIP_NETIF_TX_SINGLE_PBUF LWIP_ASSERT("p->next == NULL && p->len == p->tot_len", p->next == NULL && p->len == p->tot_len); #endif