Hi,

When compiling etharp.c with #define ARP_QUEUEING 0, the temporary pbuf *p in etharp_query is not used and generates a compiler warning. Here is a diff of the change I made to fix this:

*** etharp.c.orig       Mon Dec 27 09:50:03 2004
--- etharp.c    Sat Jul 23 17:23:58 2005
***************
*** 684,690 ****
--- 684,692 ----
  */
err_t etharp_query(struct netif *netif, struct ip_addr *ipaddr, struct pbuf *q)
 {
+ #if ARP_QUEUEING
   struct pbuf *p;
+ #endif
   struct eth_addr * srcaddr = (struct eth_addr *)netif->hwaddr;
   err_t result = ERR_MEM;
   s8_t i; /* ARP entry index */

Cheers,
Chris

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to