From e5d4a67960bb776df2db66abf91d11753369d901 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 15 May 2008 23:08:23 +0000 Subject: [PATCH] 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 --- src/lib/gssapi/mechglue/g_dsp_status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.26.2