From 720b4d3932ffc77a85622cc28347181625a2f5d0 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 21 Jun 2013 18:12:17 +0200 Subject: lsa4: Remove an unused variable Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source4/rpc_server/lsa/dcesrv_lsa.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source4/rpc_server') diff --git a/source4/rpc_server/lsa/dcesrv_lsa.c b/source4/rpc_server/lsa/dcesrv_lsa.c index b2e3c1dfe3..4caa15f9d0 100644 --- a/source4/rpc_server/lsa/dcesrv_lsa.c +++ b/source4/rpc_server/lsa/dcesrv_lsa.c @@ -3422,13 +3422,10 @@ static NTSTATUS dcesrv_lsa_LookupPrivValue(struct dcesrv_call_state *dce_call, struct lsa_LookupPrivValue *r) { struct dcesrv_handle *h; - struct lsa_policy_state *state; int id; DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_POLICY); - state = h->data; - id = sec_privilege_id(r->in.name->string); if (id == SEC_PRIV_INVALID) { return NT_STATUS_NO_SUCH_PRIVILEGE; -- cgit