mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
Remove duplicate memcpy in chunk_file_cb (#1285)
This commit is contained in:
parent
b54c738822
commit
c0a13fd9d8
@ -2259,7 +2259,6 @@ H5D__chunk_file_cb(void H5_ATTR_UNUSED *elem, const H5T_t H5_ATTR_UNUSED *type,
|
||||
/* Set the chunk's scaled coordinates */
|
||||
H5MM_memcpy(chunk_info->scaled, scaled, sizeof(hsize_t) * fm->f_ndims);
|
||||
chunk_info->scaled[fm->f_ndims] = 0;
|
||||
H5MM_memcpy(chunk_info->scaled, scaled, sizeof(hsize_t) * fm->f_ndims);
|
||||
|
||||
/* Insert the new chunk into the skip list */
|
||||
if (H5SL_insert(fm->sel_chunks, chunk_info, &chunk_info->index) < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user