remove unused EAP state machine variable
authorLuke Howard <lukeh@padl.com>
Fri, 9 Sep 2011 21:14:19 +0000 (22:14 +0100)
committerLuke Howard <lukeh@padl.com>
Fri, 9 Sep 2011 21:14:19 +0000 (22:14 +0100)
moonshot/mech_eap/init_sec_context.c

index 930eb32..42f9b93 100644 (file)
@@ -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);