* gss_libinit.c (gssint_cleanup_library): Remove variable set but
authorEzra Peisach <epeisach@mit.edu>
Mon, 15 Jul 2002 16:58:14 +0000 (16:58 +0000)
committerEzra Peisach <epeisach@mit.edu>
Mon, 15 Jul 2002 16:58:14 +0000 (16:58 +0000)
not used.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14651 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/ChangeLog
src/lib/gssapi/gss_libinit.c

index 3dcb4207b8239c1b948b9937b3f60f2060b2e767..5c0dc05329357d9822cb398204933b6c4a5c4422 100644 (file)
@@ -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.
index 88e89bbe4e1e7cbfef80f71741b4b2feba1c8f16..c8fbf22f50e3f430de888feb18d64170e52f953f 100644 (file)
@@ -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;
 }