Fix ./configure --enable-developer warnings (shadow of global)
authorAndrew Bartlett <abartlet@samba.org>
Sun, 25 Nov 2001 02:08:43 +0000 (02:08 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 25 Nov 2001 02:08:43 +0000 (02:08 +0000)
(This used to be commit 3f1cfb62e85343a45817651f111f01051fc66b18)

source3/rpc_parse/parse_lsa.c

index d7ef923be94e623bc6cd2ae03380b3dff01b0464..b5f51de697f4497fc9aad5c677f0d59dc7310594 100644 (file)
@@ -1660,12 +1660,12 @@ BOOL lsa_io_r_unk_get_connuser(char *desc, LSA_R_UNK_GET_CONNUSER *r_c, prs_stru
        return True;
 }
 
-void init_lsa_q_open_account(LSA_Q_OPENACCOUNT *trn, POLICY_HND *hnd, DOM_SID *sid, uint32 access)
+void init_lsa_q_open_account(LSA_Q_OPENACCOUNT *trn, POLICY_HND *hnd, DOM_SID *sid, uint32 desired_access)
 {
        memcpy(&trn->pol, hnd, sizeof(trn->pol));
 
        init_dom_sid2(&trn->sid, sid);
-       trn->access = access;
+       trn->access = desired_access;
 }
 
 /*******************************************************************