From 1c3834f44dc9f5958ae5f16f8a563abb9f56edde Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 15 Jul 2002 16:58:14 +0000 Subject: [PATCH] * 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 --- src/lib/gssapi/ChangeLog | 5 +++++ src/lib/gssapi/gss_libinit.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/lib/gssapi/ChangeLog b/src/lib/gssapi/ChangeLog index 3dcb4207b..5c0dc0532 100644 --- a/src/lib/gssapi/ChangeLog +++ b/src/lib/gssapi/ChangeLog @@ -1,3 +1,8 @@ +2002-07-15 Ezra Peisach + + * gss_libinit.c (gssint_cleanup_library): Remove variable set but + not used. + 2002-07-14 Alexandra Ellwood * 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 88e89bbe4..c8fbf22f5 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; } -- 2.26.2