1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

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>
This commit is contained in:
Christian Ambach 2016-02-06 10:49:53 +01:00 committed by Andreas Schneider
parent c55e8f2a1a
commit fc8e507b48

View File

@ -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)