diff --git a/src/include/lwip/netif.h b/src/include/lwip/netif.h index 32f99412..7bd4caef 100644 --- a/src/include/lwip/netif.h +++ b/src/include/lwip/netif.h @@ -280,7 +280,7 @@ struct netif { /** counters */ u32_t ifinoctets; u32_t ifinucastpkts; - u32_t ifinnucastpkts; /* @todo: never incremented */ + u32_t ifinnucastpkts; u32_t ifindiscards; u32_t ifoutoctets; u32_t ifoutucastpkts; diff --git a/src/netif/ppp/mppe.c b/src/netif/ppp/mppe.c index 1996f809..24e886c1 100644 --- a/src/netif/ppp/mppe.c +++ b/src/netif/ppp/mppe.c @@ -202,6 +202,8 @@ mppe_compress(ppp_pcb *pcb, ppp_mppe_state *state, struct pbuf **pb, u16_t proto u8_t *pl; err_t err; + LWIP_UNUSED_ARG(pcb); + /* TCP stack requires that we don't change the packet payload, therefore we copy * the whole packet before encryption. */