summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-06-21 18:11:07 +0200
committerAndrew Bartlett <abartlet@samba.org>2013-08-12 17:25:46 +1200
commit55c3f8efc3982a49ba154bcb9b797aede0152227 (patch)
tree78d948306cc3b5b6ff68d430a4b3967a2c0a0c04 /source4/rpc_server
parentc17e5bd43ca54fdf34563b275a75937079e7adb8 (diff)
downloadsamba-55c3f8efc3982a49ba154bcb9b797aede0152227.tar.gz
samba-55c3f8efc3982a49ba154bcb9b797aede0152227.tar.bz2
samba-55c3f8efc3982a49ba154bcb9b797aede0152227.zip
lsa4: Remove an unused variable
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andrew Bartlett <abartlet@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 b5f3768fcf..8d1a8565f1 100644
--- a/source4/rpc_server/lsa/dcesrv_lsa.c
+++ b/source4/rpc_server/lsa/dcesrv_lsa.c
@@ -296,15 +296,12 @@ static NTSTATUS dcesrv_lsa_EnumPrivs(struct dcesrv_call_state *dce_call, TALLOC_
struct lsa_EnumPrivs *r)
{
struct dcesrv_handle *h;
- struct lsa_policy_state *state;
uint32_t i;
enum sec_privilege priv;
const char *privname;
DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_POLICY);
- state = h->data;
-
i = *r->in.resume_handle;
while (((priv = sec_privilege_from_index(i)) != SEC_PRIV_INVALID) &&