From 05787dbcaef9dea960af39dfeeafe074956c84d4 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Fri, 9 Sep 2011 22:16:45 +0100 Subject: [PATCH] remove unused toktype2 variable From: Sam Hartman --- moonshot/mech_eap/unwrap_iov.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/moonshot/mech_eap/unwrap_iov.c b/moonshot/mech_eap/unwrap_iov.c index 19bafc6..2156e51 100644 --- a/moonshot/mech_eap/unwrap_iov.c +++ b/moonshot/mech_eap/unwrap_iov.c @@ -319,7 +319,7 @@ unwrapStream(OM_uint32 *minor, unsigned char *ptr; OM_uint32 code = 0, major = GSS_S_FAILURE; krb5_context krbContext; - int conf_req_flag, toktype2; + int conf_req_flag; int i = 0, j; gss_iov_buffer_desc *tiov = NULL; gss_iov_buffer_t stream, data = NULL; @@ -346,8 +346,7 @@ unwrapStream(OM_uint32 *minor, } ptr = (unsigned char *)stream->buffer.value; - toktype2 = load_uint16_be(ptr); - ptr += 2; + ptr += 2; /* skip token type */ tiov = (gss_iov_buffer_desc *)GSSEAP_CALLOC((size_t)iov_count + 2, sizeof(gss_iov_buffer_desc)); -- 2.1.4