From: Luke Howard Date: Fri, 9 Sep 2011 21:14:19 +0000 (+0100) Subject: remove unused EAP state machine variable X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.orig;a=commitdiff_plain;h=db8239da51cded9b7d930db85b9fc92583011ab7 remove unused EAP state machine variable --- diff --git a/mech_eap/init_sec_context.c b/mech_eap/init_sec_context.c index 930eb32..42f9b93 100644 --- a/mech_eap/init_sec_context.c +++ b/mech_eap/init_sec_context.c @@ -647,7 +647,6 @@ eapGssSmInitAuthenticate(OM_uint32 *minor, { OM_uint32 major; OM_uint32 tmpMinor; - int code; struct wpabuf *resp = NULL; *minor = 0; @@ -668,7 +667,7 @@ eapGssSmInitAuthenticate(OM_uint32 *minor, major = GSS_S_CONTINUE_NEEDED; - code = eap_peer_sm_step(ctx->initiatorCtx.eap); + eap_peer_sm_step(ctx->initiatorCtx.eap); if (ctx->flags & CTX_FLAG_EAP_RESP) { ctx->flags &= ~(CTX_FLAG_EAP_RESP);