Fix bug #54569: Compiler warning in ip4.c: unused parameter dest

This commit is contained in:
Dirk Ziegelmeier 2018-08-29 08:55:25 +02:00
parent 7b7bc349ae
commit dac4cb05f7

View File

@ -163,6 +163,9 @@ ip4_route(const ip4_addr_t *dest)
}
#endif /* LWIP_MULTICAST_TX_OPTIONS */
/* bug #54569: in case LWIP_SINGLE_NETIF=1 and LWIP_DEBUGF() disabled, the following loop is optimized away */
LWIP_UNUSED_ARG(dest);
/* iterate through netifs */
NETIF_FOREACH(netif) {
/* is the netif up, does it have a link and a valid address? */