summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-06-21 18:12:41 +0200
committerJeremy Allison <jra@samba.org>2013-06-21 11:23:51 -0700
commit2448fe3ffeef0f37907a4aa4b3f7d269d827afa1 (patch)
treeb72e802877c129b8b40250438d1491f8f4d40831
parent720b4d3932ffc77a85622cc28347181625a2f5d0 (diff)
downloadsamba-2448fe3ffeef0f37907a4aa4b3f7d269d827afa1.tar.gz
samba-2448fe3ffeef0f37907a4aa4b3f7d269d827afa1.tar.bz2
samba-2448fe3ffeef0f37907a4aa4b3f7d269d827afa1.zip
lsa4: Remove an unused variable
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-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 4caa15f9d0..3fd1e1aeb4 100644
--- a/source4/rpc_server/lsa/dcesrv_lsa.c
+++ b/source4/rpc_server/lsa/dcesrv_lsa.c
@@ -3446,14 +3446,11 @@ static NTSTATUS dcesrv_lsa_LookupPrivName(struct dcesrv_call_state *dce_call,
struct lsa_LookupPrivName *r)
{
struct dcesrv_handle *h;
- struct lsa_policy_state *state;
struct lsa_StringLarge *name;
const char *privname;
DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_POLICY);
- state = h->data;
-
if (r->in.luid->high != 0) {
return NT_STATUS_NO_SUCH_PRIVILEGE;
}