From 7b8ddef2e76be12186d7dd71b71b63a96093d49c Mon Sep 17 00:00:00 2001 From: Sam hartman Date: Fri, 16 Sep 2011 19:43:04 +0100 Subject: [PATCH] Fix unused variable in non-acceptor mode --- moonshot/mech_eap/eap_mech.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonshot/mech_eap/eap_mech.c b/moonshot/mech_eap/eap_mech.c index 4821a9c..96e00c2 100644 --- a/moonshot/mech_eap/eap_mech.c +++ b/moonshot/mech_eap/eap_mech.c @@ -196,9 +196,9 @@ gssEapInitiatorInit(OM_uint32 *minor) void gssEapFinalize(void) { +#ifdef GSSEAP_ENABLE_ACCEPTOR OM_uint32 minor; -#ifdef GSSEAP_ENABLE_ACCEPTOR gssEapAttrProvidersFinalize(&minor); #endif eap_peer_unregister_methods(); -- 2.1.4