summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2021-12-13 22:23:19 (GMT)
committerGitHub <noreply@github.com>2021-12-13 22:23:19 (GMT)
commitf5b9d884e9f4a01a0e84b9058f75574b22b378a6 (patch)
treebb71d1829e3f622d63899eed90e862c2533a0633
parent05535847026024e0ff8017c7c0b4753cbdfca80e (diff)
downloadhdf5-f5b9d884e9f4a01a0e84b9058f75574b22b378a6.zip
hdf5-f5b9d884e9f4a01a0e84b9058f75574b22b378a6.tar.gz
hdf5-f5b9d884e9f4a01a0e84b9058f75574b22b378a6.tar.bz2
Remove duplicate memcpy in chunk_file_cb (#1291)
-rw-r--r--src/H5Dchunk.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c
index 4f28392..1d74610 100644
--- a/src/H5Dchunk.c
+++ b/src/H5Dchunk.c
@@ -2227,7 +2227,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) {