From b8d7a2b8e6fd8bb6b03d2d12f3c1aaa7159870fc Mon Sep 17 00:00:00 2001 From: goldsimon Date: Tue, 8 Sep 2015 09:50:30 +0200 Subject: [PATCH] fixed comment, fixed unused parameter in mppe_compress() --- src/include/lwip/netif.h | 2 +- src/netif/ppp/mppe.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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. */