diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-02-26 11:53:49 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-02-26 11:54:45 +0100 |
commit | e0e549a77004fc45bfc01db03df267bc003a81cb (patch) | |
tree | 4b27f24c248b0de4bb1f50cf286b43a6684cd298 /source4/rpc_server/samr | |
parent | b792e5575c8dcd1ec4f5a572561a48ea5744000c (diff) | |
download | samba-e0e549a77004fc45bfc01db03df267bc003a81cb.tar.gz samba-e0e549a77004fc45bfc01db03df267bc003a81cb.tar.bz2 samba-e0e549a77004fc45bfc01db03df267bc003a81cb.zip |
s4:dcesrv_samr.c - Remove unused variable
Diffstat (limited to 'source4/rpc_server/samr')
-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; |