summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-06-21 18:12:58 +0200
committerJeremy Allison <jra@samba.org>2013-06-21 11:23:51 -0700
commit7d5daaa9f49f1a4226638a67f9d14f5d959b7363 (patch)
treee1898c06d65b4d180b183f76df1d0ed5285ada16 /source4/rpc_server
parent2448fe3ffeef0f37907a4aa4b3f7d269d827afa1 (diff)
downloadsamba-7d5daaa9f49f1a4226638a67f9d14f5d959b7363.tar.gz
samba-7d5daaa9f49f1a4226638a67f9d14f5d959b7363.tar.bz2
samba-7d5daaa9f49f1a4226638a67f9d14f5d959b7363.zip
lsa4: Remove an unused variable
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/lsa/dcesrv_lsa.c3
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;