mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
s3: winbindd: reduce scope of a variable
reduce scope of variable as a best practice Signed-off-by: Shaleen Bathla <shaleen.bathla@oracle.com> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Noel Power <npower@samba.org>
This commit is contained in:
parent
cde71074e0
commit
205866a195
@ -323,7 +323,6 @@ NTSTATUS rpc_lookup_useraliases(TALLOC_CTX *mem_ctx,
|
||||
uint32_t **palias_rids)
|
||||
{
|
||||
#define MAX_SAM_ENTRIES_W2K 0x400 /* 1024 */
|
||||
uint32_t num_query_sids = 0;
|
||||
uint32_t num_queries = 1;
|
||||
uint32_t num_aliases = 0;
|
||||
uint32_t total_sids = 0;
|
||||
@ -337,6 +336,7 @@ NTSTATUS rpc_lookup_useraliases(TALLOC_CTX *mem_ctx,
|
||||
do {
|
||||
/* prepare query */
|
||||
struct lsa_SidArray sid_array;
|
||||
uint32_t num_query_sids = 0;
|
||||
|
||||
ZERO_STRUCT(sid_array);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user