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

winbindd: initialize some stack pointers to NULL

This reduces the diff in the following commit.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Stefan Metzmacher 2018-01-10 12:14:57 +01:00 committed by Karolin Seeger
parent 126d6ceecf
commit 8587445885

View File

@ -145,9 +145,10 @@ add_trusted_domain(const char *domain_name, const char *alt_name,
static struct winbindd_domain *
add_trusted_domain_from_tdc(const struct winbindd_tdc_domain *tdc)
{
struct winbindd_domain *domain;
struct winbindd_domain *domain = NULL;
const char *dns_name = NULL;
const char **ignored_domains, **dom;
const char **ignored_domains = NULL;
const char **dom = NULL;
int role = lp_server_role();
const char *domain_name = tdc->domain_name;
const struct dom_sid *sid = &tdc->sid;