It is set, but not used for anything, so remove it.
Change-Id: I502fa683e6ab94a54959918978c4ffd683c5768e
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
goto map_requested_offset;
} else {
ds_file->request_offset_in_mapping = offset - ds_file->mmap_offset_in_file;
- goto test_end;
+ status = CTF_MSG_ITER_MEDIUM_STATUS_OK;
+ goto end;
}
map_requested_offset:
goto end;
}
-test_end:
- ds_file->end_reached = (offset == file_size);
-
status = CTF_MSG_ITER_MEDIUM_STATUS_OK;
end:
return status;
* request.
*/
off_t request_offset_in_mapping;
-
- bool end_reached;
};
BT_HIDDEN