Skip Menu |
 

Subject: krb5-1.5: fix warnings for lib/gssapi/mechglue/g_initialize.c
warning fixes for:
g_initialize.c:164: warning: implicit declaration of function
'gssint_initialize_library'
g_initialize.c:158: warning: unused variable 'fileInfo'
g_initialize.c: In function 'updateMechList':
g_initialize.c:495: warning: unused variable 'fileInfo'
g_initialize.c: In function 'init_hardcoded':
g_initialize.c:563: warning: unused variable 'cf'
# warning fixes for:
# g_initialize.c:164: warning: implicit declaration of function 'gssint_initialize_library'
# g_initialize.c:158: warning: unused variable 'fileInfo'
# g_initialize.c: In function 'updateMechList':
# g_initialize.c:495: warning: unused variable 'fileInfo'
# g_initialize.c: In function 'init_hardcoded':
# g_initialize.c:563: warning: unused variable 'cf'
#
--- lib/gssapi/mechglue/g_initialize.c
+++ lib/gssapi/mechglue/g_initialize.c 2006/06/21 12:23:11
@@ -27,6 +27,7 @@
*/

#include "mglueP.h"
+#include <gss_libinit.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
@@ -155,7 +156,6 @@
gss_OID_set *mechSet;
{
char *fileName;
- struct stat fileInfo;
int i, j;
gss_OID curItem;

@@ -492,7 +492,6 @@
updateMechList(void)
{
char *fileName;
- struct stat fileInfo;

init_hardcoded();
fileName = MECH_CONF;
@@ -560,7 +559,6 @@
extern gss_mechanism *spnego_gss_get_mech_configs(void);
gss_mechanism *cflist;
static int inited;
- gss_mech_info cf;

if (inited)
return;
From: tlyu@mit.edu
Subject: SVN Commit
* src/lib/gssapi/mechglue/g_initialize.c: Remove unused variables
and include gss_libinit.h to clean up warnings. Patch from
Michael Calmer.

Commit By: tlyu



Revision: 18202
Changed Files:
U trunk/src/lib/gssapi/mechglue/g_initialize.c
oops, typoed ticket number

From: tlyu@mit.edu
Subject: SVN Commit

pull up r18202 from trunk

r18202@cathode-dark-space: tlyu | 2006-06-22 14:49:23 -0400
ticket: 3918
tags: pullup

* src/lib/gssapi/mechglue/g_initialize.c: Remove unused variables
and include gss_libinit.h to clean up warnings. Patch from
Michael Calmer.


Commit By: tlyu



Revision: 18219
Changed Files:
U branches/krb5-1-5/src/lib/gssapi/mechglue/g_initialize.c