summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-06-21 18:12:17 +0200
committerJeremy Allison <jra@samba.org>2013-06-21 11:23:51 -0700
commit720b4d3932ffc77a85622cc28347181625a2f5d0 (patch)
treec801d7aeace29c4578a6da7671121959faa7d254 /source4/rpc_server
parent6c49f90965327a7f70d24fecdb7529f3f78fc9e4 (diff)
downloadsamba-720b4d3932ffc77a85622cc28347181625a2f5d0.tar.gz
samba-720b4d3932ffc77a85622cc28347181625a2f5d0.tar.bz2
samba-720b4d3932ffc77a85622cc28347181625a2f5d0.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 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;