From 4a5b9aac0a3668cfa00952418184530400bbbe29 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 27 Oct 1999 00:12:53 +0000 Subject: [PATCH] * accept_sec_context.c (krb5_gss_accept_sec_context): get rid of unused vars git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11884 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/ChangeLog | 3 +++ src/lib/gssapi/krb5/accept_sec_context.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog index 23999be02..0ba81b13b 100644 --- a/src/lib/gssapi/krb5/ChangeLog +++ b/src/lib/gssapi/krb5/ChangeLog @@ -1,5 +1,8 @@ 1999-10-26 Ken Raeburn + * accept_sec_context.c (krb5_gss_accept_sec_context): Get rid of + unused variables 'err' and 'enctype'. + * k5seal.c (make_integ_token_v2): Set 'code' when malloc fails. 1999-10-26 Tom Yu diff --git a/src/lib/gssapi/krb5/accept_sec_context.c b/src/lib/gssapi/krb5/accept_sec_context.c index 0ac945c45..fc920ec27 100644 --- a/src/lib/gssapi/krb5/accept_sec_context.c +++ b/src/lib/gssapi/krb5/accept_sec_context.c @@ -206,10 +206,11 @@ krb5_gss_accept_sec_context(minor_status, context_handle, krb5_ui_4 gss_flags = 0; int decode_req_message = 0; krb5_gss_ctx_id_rec *ctx = 0; +#if 0 krb5_enctype enctype; +#endif krb5_timestamp now; gss_buffer_desc token; - int err; krb5_auth_context auth_context = NULL; krb5_ticket * ticket = NULL; int option_id; -- 2.26.2