1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

s4:torture/rpc: remove unused variables from alter_context.c

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
This commit is contained in:
Stefan Metzmacher 2014-01-10 13:44:51 +01:00 committed by Günther Deschner
parent 7d201c096e
commit 943e186b7a

View File

@ -30,8 +30,6 @@ bool torture_rpc_alter_context(struct torture_context *torture)
struct dcerpc_pipe *p, *p2, *p3;
struct policy_handle *handle;
struct ndr_interface_table tmptbl;
struct ndr_syntax_id syntax;
struct ndr_syntax_id transfer_syntax;
bool ret = true;
torture_comment(torture, "opening LSA connection\n");
@ -72,9 +70,6 @@ bool torture_rpc_alter_context(struct torture_context *torture)
ret &= test_lsa_Close(p->binding_handle, torture, handle);
}
syntax = p->syntax;
transfer_syntax = p->transfer_syntax;
torture_comment(torture, "Testing change of primary context\n");
status = dcerpc_alter_context(p, torture, &p->syntax, &p->transfer_syntax);
torture_assert_ntstatus_ok(torture, status, "dcerpc_alter_context failed");