summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2002-07-15 16:58:14 +0000
committerEzra Peisach <epeisach@mit.edu>2002-07-15 16:58:14 +0000
commit1c3834f44dc9f5958ae5f16f8a563abb9f56edde (patch)
tree5e9f8d79adcff22dae062fd227dea4494137d404 /src
parenta0ea73af81ab89b51f574e4eb454f86c5a7a67d3 (diff)
downloadkrb5-1c3834f44dc9f5958ae5f16f8a563abb9f56edde.tar.gz
krb5-1c3834f44dc9f5958ae5f16f8a563abb9f56edde.tar.xz
krb5-1c3834f44dc9f5958ae5f16f8a563abb9f56edde.zip
* gss_libinit.c (gssint_cleanup_library): Remove variable set but
not used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14651 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/lib/gssapi/ChangeLog5
-rw-r--r--src/lib/gssapi/gss_libinit.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/src/lib/gssapi/ChangeLog b/src/lib/gssapi/ChangeLog
index 3dcb4207b8..5c0dc05329 100644
--- a/src/lib/gssapi/ChangeLog
+++ b/src/lib/gssapi/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-15 Ezra Peisach <epeisach@bu.edu>
+
+ * gss_libinit.c (gssint_cleanup_library): Remove variable set but
+ not used.
+
2002-07-14 Alexandra Ellwood <lxs@mit.edu>
* gss_libinit.c: Conditionalized error table loading for Mac OS X.
diff --git a/src/lib/gssapi/gss_libinit.c b/src/lib/gssapi/gss_libinit.c
index 88e89bbe4e..c8fbf22f50 100644
--- a/src/lib/gssapi/gss_libinit.c
+++ b/src/lib/gssapi/gss_libinit.c
@@ -38,14 +38,14 @@ OM_uint32 gssint_initialize_library (void)
void gssint_cleanup_library (void)
{
- OM_uint32 maj_stat, min_stat;
+ OM_uint32 min_stat;
assert (initialized);
- maj_stat = kg_release_defcred (&min_stat);
+ (void) kg_release_defcred (&min_stat);
- remove_error_table(&et_k5g_error_table);
- remove_error_table(&et_ggss_error_table);
+ remove_error_table(&et_k5g_error_table);
+ remove_error_table(&et_ggss_error_table);
initialized = 0;
}