diff options
author | Christian Ambach <ambi@samba.org> | 2016-02-06 10:49:53 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2016-02-12 09:01:14 +0100 |
commit | fc8e507b48a23e02b7d73e040eb5ac7d3e4232a7 (patch) | |
tree | 52247ede8938275fc24b8288df69eef8fcc12ab1 /source4/heimdal/lib/krb5/fcache.c | |
parent | c55e8f2a1ab5b7b6fc8e53e767e63abc69109b63 (diff) | |
download | samba-fc8e507b48a23e02b7d73e040eb5ac7d3e4232a7.tar.gz |
s4:heimdal fix a compile warning
about a potentially uninitialized variable
Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source4/heimdal/lib/krb5/fcache.c')
-rw-r--r-- | source4/heimdal/lib/krb5/fcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/heimdal/lib/krb5/fcache.c b/source4/heimdal/lib/krb5/fcache.c index cb720c0455f..4cc4880b006 100644 --- a/source4/heimdal/lib/krb5/fcache.c +++ b/source4/heimdal/lib/krb5/fcache.c @@ -690,8 +690,8 @@ fcc_get_principal(krb5_context context, krb5_principal *principal) { krb5_error_code ret; - int fd; - krb5_storage *sp; + int fd = 0; + krb5_storage *sp = NULL; ret = init_fcc (context, id, &sp, &fd, NULL); if (ret) |