From: Tom Yu Date: Thu, 22 Jun 2006 18:49:23 +0000 (+0000) Subject: * src/lib/gssapi/mechglue/g_initialize.c: Remove unused variables X-Git-Tag: krb5-1.6-alpha1~273 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ec1198eebb7dcb9957446fa73cd08c0c1d645c42;p=krb5.git * src/lib/gssapi/mechglue/g_initialize.c: Remove unused variables and include gss_libinit.h to clean up warnings. Patch from Michael Calmer. ticket: 3918 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18202 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/mechglue/g_initialize.c b/src/lib/gssapi/mechglue/g_initialize.c index 2c6890720..4a02f75b3 100644 --- a/src/lib/gssapi/mechglue/g_initialize.c +++ b/src/lib/gssapi/mechglue/g_initialize.c @@ -27,6 +27,7 @@ */ #include "mglueP.h" +#include "gss_libinit.h" #ifdef HAVE_STDLIB_H #include #endif @@ -155,7 +156,6 @@ OM_uint32 *minorStatus; gss_OID_set *mechSet; { char *fileName; - struct stat fileInfo; int i, j; gss_OID curItem; @@ -492,7 +492,6 @@ static void updateMechList(void) { char *fileName; - struct stat fileInfo; init_hardcoded(); fileName = MECH_CONF; @@ -560,7 +559,6 @@ init_hardcoded(void) extern gss_mechanism *spnego_gss_get_mech_configs(void); gss_mechanism *cflist; static int inited; - gss_mech_info cf; if (inited) return;