s3:libsmb: remove unused 'inbuf' variable
[kai/samba.git] / source3 / libsmb / clientgen.c
index 0bbcdf5c71c9027fdf8d6116e4bbcbac856ffcd6..c8bd7e5f5286dd7303988cc7b53bbd8888ee19c5 100644 (file)
@@ -483,9 +483,8 @@ static void cli_echo_done(struct tevent_req *subreq)
        NTSTATUS status;
        uint32_t num_bytes;
        uint8_t *bytes;
-       uint8_t *inbuf;
 
-       status = cli_smb_recv(subreq, state, &inbuf, 0, NULL, NULL,
+       status = cli_smb_recv(subreq, state, NULL, 0, NULL, NULL,
                              &num_bytes, &bytes);
        if (!NT_STATUS_IS_OK(status)) {
                tevent_req_nterror(req, status);