s4:torture/rpc: remove unused variables from alter_context.c
authorStefan Metzmacher <metze@samba.org>
Fri, 10 Jan 2014 12:44:51 +0000 (13:44 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 16 Jan 2014 15:22:52 +0000 (16:22 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source4/torture/rpc/alter_context.c

index cbfe034d06dd8f526bd01397fb52ae145a28983c..57f71b7819bbf3d38a60dc15b82a06e591ec3816 100644 (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");