summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVailin Choi <vchoi@jam.ad.hdfgroup.org>2019-09-26 19:10:56 (GMT)
committerVailin Choi <vchoi@jam.ad.hdfgroup.org>2019-09-26 19:10:56 (GMT)
commit7924eee0e5ee0745b784c635042b8633886fb799 (patch)
treede40ed74b1b2b3b5db69a8f1ebedbdbd8f2100d7 /src
parent52fef3c6d2b79399caa316cf7f380e61db95ba0e (diff)
downloadhdf5-7924eee0e5ee0745b784c635042b8633886fb799.zip
hdf5-7924eee0e5ee0745b784c635042b8633886fb799.tar.gz
hdf5-7924eee0e5ee0745b784c635042b8633886fb799.tar.bz2
(1) Address the feedback from the PR review
(2) Add release notes
Diffstat (limited to 'src')
-rw-r--r--src/H5Dchunk.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c
index 7154d0b..ed82b3b 100644
--- a/src/H5Dchunk.c
+++ b/src/H5Dchunk.c
@@ -255,7 +255,7 @@ static herr_t H5D__chunk_io_init(const H5D_io_info_t *io_info,
const H5D_type_info_t *type_info, hsize_t nelmts, const H5S_t *file_space,
const H5S_t *mem_space, H5D_chunk_map_t *fm);
static herr_t H5D__chunk_io_init_selections(const H5D_io_info_t *io_info,
- const H5D_type_info_t *type_info, hsize_t nelmts, H5D_chunk_map_t *fm);
+ const H5D_type_info_t *type_info, H5D_chunk_map_t *fm);
static herr_t H5D__chunk_read(H5D_io_info_t *io_info, const H5D_type_info_t *type_info,
hsize_t nelmts, const H5S_t *file_space, const H5S_t *mem_space,
H5D_chunk_map_t *fm);
@@ -1160,7 +1160,7 @@ H5D__chunk_io_init(const H5D_io_info_t *io_info, const H5D_type_info_t *type_inf
fm->file_space = file_space;
fm->mem_space = mem_space;
- if(H5D__chunk_io_init_selections(io_info, type_info, nelmts, fm) < 0)
+ if(H5D__chunk_io_init_selections(io_info, type_info, fm) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "unable to create file and memory chunk selections")
done:
@@ -1189,8 +1189,7 @@ done:
*-------------------------------------------------------------------------
*/
static herr_t
-H5D__chunk_io_init_selections(const H5D_io_info_t *io_info, const H5D_type_info_t *type_info,
- hsize_t nelmts, H5D_chunk_map_t *fm)
+H5D__chunk_io_init_selections(const H5D_io_info_t *io_info, const H5D_type_info_t *type_info, H5D_chunk_map_t *fm)
{
const H5D_t *dataset = io_info->dset; /* Local pointer to dataset info */
const H5T_t *mem_type = type_info->mem_type; /* Local pointer to memory datatype */