* src/lib/gssapi/mechglue/g_initialize.c: Remove unused variables
authorTom Yu <tlyu@mit.edu>
Thu, 22 Jun 2006 18:49:23 +0000 (18:49 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 22 Jun 2006 18:49:23 +0000 (18:49 +0000)
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

index 2c6890720bf4d997d063e268bf04b1fafd1363b7..4a02f75b346242fc42aa206b3f76e21108c2058d 100644 (file)
@@ -27,6 +27,7 @@
  */
 
 #include "mglueP.h"
+#include "gss_libinit.h"
 #ifdef HAVE_STDLIB_H
 #include <stdlib.h>
 #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;