summaryrefslogtreecommitdiff
path: root/source4/heimdal
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2016-02-06 10:49:53 +0100
committerAndreas Schneider <asn@cryptomilk.org>2016-02-12 09:01:14 +0100
commitfc8e507b48a23e02b7d73e040eb5ac7d3e4232a7 (patch)
tree52247ede8938275fc24b8288df69eef8fcc12ab1 /source4/heimdal
parentc55e8f2a1ab5b7b6fc8e53e767e63abc69109b63 (diff)
downloadsamba-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')
-rw-r--r--source4/heimdal/lib/krb5/fcache.c4
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)