diff options
author | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2019-12-09 19:00:07 (GMT) |
---|---|---|
committer | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2019-12-09 19:00:07 (GMT) |
commit | bc3312df8e812bc8585f239756fbef2008eb8c56 (patch) | |
tree | 3762e5b4878bf7b67ad0e60b3dcc3f1fdf779b25 /src/H5Sselect.c | |
parent | 18e9b4fcc269f180d173a7b8e9f1f21856f48c7c (diff) | |
parent | 49fe497201bcefcd9beb01fe8fc2175974b73799 (diff) | |
download | hdf5-bc3312df8e812bc8585f239756fbef2008eb8c56.zip hdf5-bc3312df8e812bc8585f239756fbef2008eb8c56.tar.gz hdf5-bc3312df8e812bc8585f239756fbef2008eb8c56.tar.bz2 |
Merge pull request #2114 in HDFFV/hdf5 from ~JSOUMAGNE/hdf5:hdf5-1_12-revert to hdf5_1_12
* commit '49fe497201bcefcd9beb01fe8fc2175974b73799':
Revert "Merge branch 'hdf5_1_12' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into hdf5_1_12"
Diffstat (limited to 'src/H5Sselect.c')
-rw-r--r-- | src/H5Sselect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Sselect.c b/src/H5Sselect.c index 6c8b898..43e55fd 100644 --- a/src/H5Sselect.c +++ b/src/H5Sselect.c @@ -3086,7 +3086,7 @@ H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxbytes, HGOTO_ERROR(H5E_DATASPACE, H5E_BADVALUE, FAIL, "length array pointer is NULL") /* Get the sequences of bytes */ - if(maxseq > 0 && maxbytes > 0 && sel_iter->elmt_left > 0) { + if(maxseq > 0 && maxbytes > 0) { if(H5S_SELECT_ITER_GET_SEQ_LIST(sel_iter, maxseq, maxbytes, nseq, nbytes, off, len) < 0) HGOTO_ERROR(H5E_DATASPACE, H5E_CANTGET, FAIL, "sequence length generation failed") } /* end if */ |