s4:torture/nbt: remove unused variable
authorStefan Metzmacher <metze@samba.org>
Thu, 27 Feb 2014 08:08:17 +0000 (09:08 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 2 Apr 2014 07:03:45 +0000 (09:03 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/torture/nbt/winsreplication.c

index fef539c42697045630a3fc9123e1996866b241b1..e76e816155f780dcca8f8a60e75efd98113b62a7 100644 (file)
@@ -719,7 +719,6 @@ static bool test_wrepl_update_one(struct torture_context *tctx,
        struct wrepl_table *update;
        struct wrepl_wins_owner wrepl_wins_owners[1];
        struct wrepl_packet *repl_recv;
-       struct wrepl_wins_owner *send_request;
        struct wrepl_send_reply *send_reply;
        struct wrepl_wins_name wrepl_wins_names[1];
        uint32_t assoc_ctx;
@@ -753,7 +752,6 @@ static bool test_wrepl_update_one(struct torture_context *tctx,
        CHECK_STATUS(tctx, status, NT_STATUS_OK);
        CHECK_VALUE(tctx, repl_recv->mess_type, WREPL_REPLICATION);
        CHECK_VALUE(tctx, repl_recv->message.replication.command, WREPL_REPL_SEND_REQUEST);
-       send_request = &repl_recv->message.replication.info.owner;
 
        ZERO_STRUCT(repl_send);
        repl_send.opcode                        = WREPL_OPCODE_BITS;