From: Ken Raeburn Date: Thu, 15 May 2008 23:08:23 +0000 (+0000) Subject: Move auto var to outer scope, because its storage is used beyond the inner scope X-Git-Tag: krb5-1.7-alpha1~681 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e5d4a67960bb776df2db66abf91d11753369d901;p=krb5.git Move auto var to outer scope, because its storage is used beyond the inner scope git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20320 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/mechglue/g_dsp_status.c b/src/lib/gssapi/mechglue/g_dsp_status.c index be6bc8032..acf3bbbb4 100644 --- a/src/lib/gssapi/mechglue/g_dsp_status.c +++ b/src/lib/gssapi/mechglue/g_dsp_status.c @@ -53,6 +53,7 @@ gss_buffer_t status_string; { gss_OID mech_type = (gss_OID) req_mech_type; gss_mechanism mech; + gss_OID_desc m_oid = { 0, 0 }; if (minor_status != NULL) *minor_status = 0; @@ -96,7 +97,6 @@ gss_buffer_t status_string; } { int err; - gss_OID_desc m_oid = { 0, 0 }; OM_uint32 m_status = 0, status; err = gssint_mecherrmap_get(status_value, &m_oid, &m_status);