From e0e549a77004fc45bfc01db03df267bc003a81cb Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Fri, 26 Feb 2010 11:53:49 +0100 Subject: s4:dcesrv_samr.c - Remove unused variable --- source4/rpc_server/samr/dcesrv_samr.c | 4 +--- 1 file changed, 1 insertion(+), 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; iin.num_rids; i++) { struct ldb_message **res; int count; -- cgit