mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
Merge pull request #1670 in HDFFV/hdf5 from ~JHENDERSON/hdf5:develop to develop
* commit '4a4c0bc3972cde177c0a6e2a191b1fa187846c08': Fix issue with H5Iiterate always stopping with an error after the first iteration
This commit is contained in:
commit
1adec082f2
@ -1943,6 +1943,8 @@ H5I__iterate_pub_cb(void H5_ATTR_UNUSED *obj, hid_t id, void *_udata)
|
||||
ret_value = H5_ITER_STOP; /* terminate iteration early */
|
||||
else if(cb_ret_val < 0)
|
||||
ret_value = H5_ITER_ERROR; /* indicate failure (which terminates iteration) */
|
||||
else
|
||||
ret_value = H5_ITER_CONT; /* continue iteration */
|
||||
|
||||
FUNC_LEAVE_NOAPI(ret_value)
|
||||
} /* end H5I__iterate_pub_cb() */
|
||||
|
Loading…
Reference in New Issue
Block a user