summaryrefslogtreecommitdiff
path: root/src/providers/krb5
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2010-09-01 16:30:32 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-09-08 09:36:22 -0400
commit87f2bb60510f31fec012d126411f09a99c72140e (patch)
tree48cce3b9f98265a2297c3a6f8be6cd55ed1a3855 /src/providers/krb5
parent88aeed9a31b734a92630d5e881c960c5f77ba0ce (diff)
downloadsssd-87f2bb60510f31fec012d126411f09a99c72140e.tar.gz
sssd-87f2bb60510f31fec012d126411f09a99c72140e.tar.bz2
sssd-87f2bb60510f31fec012d126411f09a99c72140e.zip
Dead assignments cleanup in providers code
Dead assignments were deleted. Also prototype of function sdap_access_decide_offline() has been changed, since its return code was never used. Ticket: #586
Diffstat (limited to 'src/providers/krb5')
-rw-r--r--src/providers/krb5/krb5_child.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c
index cfb3f42b..6892c665 100644
--- a/src/providers/krb5/krb5_child.c
+++ b/src/providers/krb5/krb5_child.c
@@ -270,7 +270,6 @@ static krb5_error_code create_ccache_file(struct krb5_req *kr, krb5_creds *creds
done:
if (fd != -1) {
close(fd);
- fd = -1;
}
if (kerr != 0 && tmp_cc != NULL) {
krb5_cc_destroy(kr->ctx, tmp_cc);