diff options
-rw-r--r-- | source4/rpc_server/lsa/dcesrv_lsa.c | 3 |
1 files changed, 0 insertions, 3 deletions
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; |