diff options
author | David Young <dyoung@hdfgroup.org> | 2019-11-13 20:21:15 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:19:37 (GMT) |
commit | 34e51def7e14a991d399a2250f10ce7194210ca1 (patch) | |
tree | 1b59a6c4b42a91571570f6b0dbdf9cb8a1db1f20 /src | |
parent | 902cb3e0d0d972dff110192c4cd7d324d99923e6 (diff) | |
download | hdf5-34e51def7e14a991d399a2250f10ce7194210ca1.zip hdf5-34e51def7e14a991d399a2250f10ce7194210ca1.tar.gz hdf5-34e51def7e14a991d399a2250f10ce7194210ca1.tar.bz2 |
Move a statement under some declarations since some vintages of Visual
Studio don't like declarations after statements.
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Dchunk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c index 7a5a919..7b1c587 100644 --- a/src/H5Dchunk.c +++ b/src/H5Dchunk.c @@ -2173,10 +2173,11 @@ H5D__create_chunk_mem_map_1d(const H5D_chunk_map_t *fm) chunk_info->mspace_shared = TRUE; } /* end if */ else { - HDassert(fm->m_ndims == 1); hsize_t mem_sel_start[H5S_MAX_RANK]; /* Offset of low bound of file selection */ hsize_t mem_sel_end[H5S_MAX_RANK]; /* Offset of high bound of file selection */ + HDassert(fm->m_ndims == 1); + if(H5S_SELECT_BOUNDS(fm->mem_space, mem_sel_start, mem_sel_end) < 0) HGOTO_ERROR(H5E_DATASPACE, H5E_CANTGET, FAIL, "can't get file selection bound info") |