diff options
author | Ken Raeburn <raeburn@mit.edu> | 2002-07-01 21:03:59 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2002-07-01 21:03:59 +0000 |
commit | 2f6d5870939b83af53744a5c1b90c577b5c359da (patch) | |
tree | 4f3429dca9d736f3a5fc13b2fc7fc5fb0204360d /src | |
parent | d2d609f8b36ea941f0547d182877ddcf92b971fe (diff) | |
download | krb5-2f6d5870939b83af53744a5c1b90c577b5c359da.tar.gz krb5-2f6d5870939b83af53744a5c1b90c577b5c359da.tar.xz krb5-2f6d5870939b83af53744a5c1b90c577b5c359da.zip |
* init_sec_context.c (get_credentials): Delete unused variable
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14594 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/gssapi/krb5/ChangeLog | 1 | ||||
-rw-r--r-- | src/lib/gssapi/krb5/init_sec_context.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog index f7a8b0a301..4c206d46a3 100644 --- a/src/lib/gssapi/krb5/ChangeLog +++ b/src/lib/gssapi/krb5/ChangeLog @@ -18,6 +18,7 @@ OM_uint32 and krb5_error_code. * k5unseal.c (kg_unseal_v1): Move a variable declaration and assignment to fix gcc "possibly uninitialized" warning. + * init_sec_context.c (get_credentials): Delete unused variable. 2002-03-03 Sam Hartman <hartmans@mit.edu> diff --git a/src/lib/gssapi/krb5/init_sec_context.c b/src/lib/gssapi/krb5/init_sec_context.c index 72e3ccfacb..f368689a82 100644 --- a/src/lib/gssapi/krb5/init_sec_context.c +++ b/src/lib/gssapi/krb5/init_sec_context.c @@ -101,8 +101,7 @@ static krb5_error_code get_credentials(context, cred, server, now, { krb5_error_code code; krb5_creds in_creds; - int i; - + memset((char *) &in_creds, 0, sizeof(krb5_creds)); if ((code = krb5_copy_principal(context, cred->princ, &in_creds.client))) |