1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-05 20:58:40 +03:00

r5571: fix another breakage on gcc 2.96

This commit is contained in:
Gerald Carter 2005-02-25 19:26:07 +00:00 committed by Gerald (Jerry) Carter
parent 3eeecff05e
commit cadd5a44e7

View File

@ -159,6 +159,7 @@ static NTSTATUS rid_idmap_get_domains(uint32 *num_domains, fstring **domain_name
DOM_SID *trusted_domain_sids;
uint32 enum_ctx = 0;
DOM_SID builtin_sid;
int own_domains = 2;
/* put the results together */
*num_domains = 1;
@ -270,7 +271,6 @@ static NTSTATUS rid_idmap_get_domains(uint32 *num_domains, fstring **domain_name
i, trusted_domain_names[i], sid_str));
}
int own_domains = 2;
if (!sid_equal(domain_sid, get_global_sam_sid()))
++own_domains;