rpc_cli: Remove some unnecessary initializations
authorVolker Lendecke <vl@samba.org>
Mon, 8 Jul 2013 10:35:46 +0000 (12:35 +0200)
committerDavid Disseldorp <ddiss@samba.org>
Mon, 8 Jul 2013 15:04:19 +0000 (17:04 +0200)
tevent_req_create already initializes "state" to 0

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Mon Jul  8 17:04:20 CEST 2013 on sn-devel-104

source3/rpc_client/cli_pipe.c

index 2e978efb8d9ff2d676097f3925358fcc994d3c78..497df245bb8f71982f9430dab0e7756cc5605679 100644 (file)
@@ -725,9 +725,6 @@ static struct tevent_req *rpc_api_pipe_send(TALLOC_CTX *mem_ctx,
        state->ev = ev;
        state->cli = cli;
        state->expected_pkt_type = expected_pkt_type;
-       state->incoming_frag = data_blob_null;
-       state->reply_pdu = data_blob_null;
-       state->reply_pdu_offset = 0;
        state->endianess = DCERPC_DREP_LE;
 
        /*