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:
parent
c55e8f2a1a
commit
fc8e507b48
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user