From 7d5daaa9f49f1a4226638a67f9d14f5d959b7363 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 21 Jun 2013 18:12:58 +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') diff --git a/source4/rpc_server/lsa/dcesrv_lsa.c b/source4/rpc_server/lsa/dcesrv_lsa.c index 3fd1e1aeb4..520c65b0e2 100644 --- a/source4/rpc_server/lsa/dcesrv_lsa.c +++ b/source4/rpc_server/lsa/dcesrv_lsa.c @@ -3481,14 +3481,11 @@ static NTSTATUS dcesrv_lsa_LookupPrivDisplayName(struct dcesrv_call_state *dce_c struct lsa_LookupPrivDisplayName *r) { struct dcesrv_handle *h; - struct lsa_policy_state *state; struct lsa_StringLarge *disp_name = NULL; enum sec_privilege 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