summaryrefslogtreecommitdiffstats
path: root/src/H5Dchunk.c
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2021-12-11 02:22:49 (GMT)
committerGitHub <noreply@github.com>2021-12-11 02:22:49 (GMT)
commitc0a13fd9d88e27b3996bc76c2927461634de5675 (patch)
treef7904182f6590156e3562540eb2f0f9428b17211 /src/H5Dchunk.c
parentb54c738822d678286ef50fad49224ae9a1f0defd (diff)
downloadhdf5-c0a13fd9d88e27b3996bc76c2927461634de5675.zip
hdf5-c0a13fd9d88e27b3996bc76c2927461634de5675.tar.gz
hdf5-c0a13fd9d88e27b3996bc76c2927461634de5675.tar.bz2
Remove duplicate memcpy in chunk_file_cb (#1285)
Diffstat (limited to 'src/H5Dchunk.c')
-rw-r--r--src/H5Dchunk.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c
index 9742688..cad5c9f 100644
--- a/src/H5Dchunk.c
+++ b/src/H5Dchunk.c
@@ -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) {