summaryrefslogtreecommitdiffstats
path: root/src/providers/krb5/krb5_child.c
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-07-18 11:44:24 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-07-22 11:44:09 +0200
commit08e3f641a8b8d6b5d7eb0b523599702eda960da2 (patch)
tree1df65df3a326aca81d3bb003502668184268a421 /src/providers/krb5/krb5_child.c
parentd6c2ee96f5f181f21b0003aa8f3506e82522291d (diff)
downloadsssd-08e3f641a8b8d6b5d7eb0b523599702eda960da2.tar.gz
sssd-08e3f641a8b8d6b5d7eb0b523599702eda960da2.tar.xz
sssd-08e3f641a8b8d6b5d7eb0b523599702eda960da2.zip
Fix warnings: uninitialized variable
Diffstat (limited to 'src/providers/krb5/krb5_child.c')
-rw-r--r--src/providers/krb5/krb5_child.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c
index 051079fda..47c8fb29f 100644
--- a/src/providers/krb5/krb5_child.c
+++ b/src/providers/krb5/krb5_child.c
@@ -1820,8 +1820,7 @@ static krb5_error_code check_fast_ccache(TALLOC_CTX *mem_ctx,
tmp_ctx = talloc_new(NULL);
if (tmp_ctx == NULL) {
DEBUG(1, ("talloc_new failed.\n"));
- kerr = ENOMEM;
- goto done;
+ return ENOMEM;
}
ccname = talloc_asprintf(tmp_ctx, "FILE:%s/fast_ccache_%s", DB_PATH, realm);