|
|
@@ -246,6 +246,7 @@ static const fsm_callbacks ccp_callbacks = {
|
|
|
* Do we want / did we get any compression?
|
|
|
*/
|
|
|
static int ccp_anycompress(ccp_options *opt) {
|
|
|
+ LWIP_UNUSED_ARG(opt);
|
|
|
return (0
|
|
|
#if DEFLATE_SUPPORT
|
|
|
|| (opt)->deflate
|
|
|
@@ -743,6 +744,7 @@ static void ccp_resetci(fsm *f) {
|
|
|
static int ccp_cilen(fsm *f) {
|
|
|
ppp_pcb *pcb = f->pcb;
|
|
|
ccp_options *go = &pcb->ccp_gotoptions;
|
|
|
+ LWIP_UNUSED_ARG(go);
|
|
|
|
|
|
return 0
|
|
|
#if BSDCOMPRESS_SUPPORT
|
|
|
@@ -838,6 +840,8 @@ static int ccp_ackci(fsm *f, u_char *p, int len) {
|
|
|
#if BSDCOMPRESS_SUPPORT || PREDICTOR_SUPPORT
|
|
|
u_char *p0 = p;
|
|
|
#endif /* BSDCOMPRESS_SUPPORT || PREDICTOR_SUPPORT */
|
|
|
+ LWIP_UNUSED_ARG(p);
|
|
|
+ LWIP_UNUSED_ARG(go);
|
|
|
|
|
|
#if MPPE_SUPPORT
|
|
|
if (go->mppe) {
|
|
|
@@ -1022,6 +1026,7 @@ static int ccp_rejci(fsm *f, u_char *p, int len) {
|
|
|
ppp_pcb *pcb = f->pcb;
|
|
|
ccp_options *go = &pcb->ccp_gotoptions;
|
|
|
ccp_options try_; /* options to request next time */
|
|
|
+ LWIP_UNUSED_ARG(p);
|
|
|
|
|
|
try_ = *go;
|
|
|
|
|
|
@@ -1117,6 +1122,7 @@ static int ccp_reqci(fsm *f, u_char *p, int *lenp, int dont_nak) {
|
|
|
u8_t rej_for_ci_mppe = 1; /* Are we rejecting based on a bad/missing */
|
|
|
/* CI_MPPE, or due to other options? */
|
|
|
#endif /* MPPE_SUPPORT */
|
|
|
+ LWIP_UNUSED_ARG(ao);
|
|
|
|
|
|
ret = CONFACK;
|
|
|
retp = p0 = p;
|