From ec1198eebb7dcb9957446fa73cd08c0c1d645c42 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Thu, 22 Jun 2006 18:49:23 +0000 Subject: [PATCH] * 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 --- src/lib/gssapi/mechglue/g_initialize.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; -- 2.26.2