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;