summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2021-12-13 23:32:10 (GMT)
committerGitHub <noreply@github.com>2021-12-13 23:32:10 (GMT)
commit94fd05b9742cf21130bc0a6b6db9c4b034640ce3 (patch)
tree52eca3a03320df74bb7076208e51f2eee6029c97 /src
parent6a9a56f4c2adcd1d7c4f19acf7555fe27c1af490 (diff)
downloadhdf5-94fd05b9742cf21130bc0a6b6db9c4b034640ce3.zip
hdf5-94fd05b9742cf21130bc0a6b6db9c4b034640ce3.tar.gz
hdf5-94fd05b9742cf21130bc0a6b6db9c4b034640ce3.tar.bz2
Remove duplicate memcpy in chunk_file_cb (#1286)
Diffstat (limited to 'src')
-rw-r--r--src/H5Dchunk.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c
index f1e5d7b..d2fd8e5 100644
--- a/src/H5Dchunk.c
+++ b/src/H5Dchunk.c
@@ -2232,7 +2232,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) {