diff options
| author | Ezra Peisach <epeisach@mit.edu> | 2001-06-07 17:51:04 +0000 |
|---|---|---|
| committer | Ezra Peisach <epeisach@mit.edu> | 2001-06-07 17:51:04 +0000 |
| commit | 52e601ce99f2f53817d40fbfa948b631858d2a84 (patch) | |
| tree | 66b5d613a283b6bfbfd8608afcf1b8e9d4e7c205 /src | |
| parent | 470ef84cee42e202cea947123ef0da79a097cded (diff) | |
| download | krb5-52e601ce99f2f53817d40fbfa948b631858d2a84.tar.gz krb5-52e601ce99f2f53817d40fbfa948b631858d2a84.tar.xz krb5-52e601ce99f2f53817d40fbfa948b631858d2a84.zip | |
* vfy_increds.c (krb5_verify_init_creds): Get rid of a variable
that was set in a conditional and never used afterwards.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13290 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/krb5/krb/ChangeLog | 5 | ||||
| -rw-r--r-- | src/lib/krb5/krb/vfy_increds.c | 9 |
2 files changed, 9 insertions, 5 deletions
diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 155f35a5f3..5e9061939b 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,8 @@ +2001-06-07 Ezra Peisach <epeisach@mit.edu> + + * vfy_increds.c (krb5_verify_init_creds): Get rid of a variable + that was set in a conditional and never used afterwards. + 2001-06-01 Ken Raeburn <raeburn@mit.edu> * init_ctx.c (get_profile_etype_list): Zero out multiple separator diff --git a/src/lib/krb5/krb/vfy_increds.c b/src/lib/krb5/krb/vfy_increds.c index e3955174eb..9f9a257f26 100644 --- a/src/lib/krb5/krb/vfy_increds.c +++ b/src/lib/krb5/krb/vfy_increds.c @@ -103,17 +103,16 @@ krb5_verify_init_creds(krb5_context context, /* this means there is no keying material. This is ok, as long as it is not prohibited by the configuration */ - krb5_error_code ret2; int nofail; if (options && (options->flags & KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL)) { if (options->ap_req_nofail) goto cleanup; - } else if ((ret2 = krb5_libdefault_boolean(context, - &creds->client->realm, - "verify_ap_req_nofail", - &nofail)) + } else if (krb5_libdefault_boolean(context, + &creds->client->realm, + "verify_ap_req_nofail", + &nofail) == 0) { if (nofail) goto cleanup; |
