diff options
-rw-r--r-- | source4/rpc_server/samr/dcesrv_samr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c index 61a9f1350b..edfacfb4f4 100644 --- a/source4/rpc_server/samr/dcesrv_samr.c +++ b/source4/rpc_server/samr/dcesrv_samr.c @@ -1939,7 +1939,7 @@ static NTSTATUS dcesrv_samr_LookupRids(struct dcesrv_call_state *dce_call, TALLO { struct dcesrv_handle *h; struct samr_domain_state *d_state; - int i, total; + int i; NTSTATUS status = NT_STATUS_OK; struct lsa_String *names; uint32_t *ids; @@ -1960,8 +1960,6 @@ static NTSTATUS dcesrv_samr_LookupRids(struct dcesrv_call_state *dce_call, TALLO if ((names == NULL) || (ids == NULL)) return NT_STATUS_NO_MEMORY; - total = 0; - for (i=0; i<r->in.num_rids; i++) { struct ldb_message **res; int count; |