From: Kevin Wasserman Date: Tue, 28 Jun 2011 18:28:13 +0000 (-0400) Subject: Fix unreferenced parameter warnings. X-Git-Tag: tr-beta1~106^2~7 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=moonshot.git;a=commitdiff_plain;h=44baeabd068f69518f4dfe25bcb88b0f7fb03d31 Fix unreferenced parameter warnings. ...in the functions in inquire_cred_by_oid.c and set_sec_context_option.c that used to throw zero-sized array errors under msvc --- diff --git a/moonshot/mech_eap/inquire_cred_by_oid.c b/moonshot/mech_eap/inquire_cred_by_oid.c index 169b636..b8ff40e 100644 --- a/moonshot/mech_eap/inquire_cred_by_oid.c +++ b/moonshot/mech_eap/inquire_cred_by_oid.c @@ -74,6 +74,9 @@ gss_inquire_cred_by_oid(OM_uint32 *minor, break; } } +#else + (void)i; + (void)desired_object; #endif GSSEAP_MUTEX_UNLOCK(&cred_handle->mutex); diff --git a/moonshot/mech_eap/set_sec_context_option.c b/moonshot/mech_eap/set_sec_context_option.c index 2c7cc7b..14278dc 100644 --- a/moonshot/mech_eap/set_sec_context_option.c +++ b/moonshot/mech_eap/set_sec_context_option.c @@ -74,6 +74,10 @@ gss_set_sec_context_option(OM_uint32 *minor, break; } } +#else + (void)i; + (void)desired_object; + (void)value; #endif if (pCtx != NULL && *pCtx == NULL)