Author: jerry
Date: 2005-02-25 19:26:07 +0000 (Fri, 25 Feb 2005)
New Revision: 5571

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5571

Log:
fix another breakage on gcc 2.96 
Modified:
   branches/SAMBA_3_0/source/sam/idmap_rid.c


Changeset:
Modified: branches/SAMBA_3_0/source/sam/idmap_rid.c
===================================================================
--- branches/SAMBA_3_0/source/sam/idmap_rid.c   2005-02-25 19:25:44 UTC (rev 
5570)
+++ branches/SAMBA_3_0/source/sam/idmap_rid.c   2005-02-25 19:26:07 UTC (rev 
5571)
@@ -159,6 +159,7 @@
        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 @@
                                        i, trusted_domain_names[i], sid_str));
        }
 
-       int own_domains = 2;
        if (!sid_equal(domain_sid, get_global_sam_sid()))
                ++own_domains;
 

Reply via email to