diff options
author | kmu <kmu@hdfgroup.org> | 2019-12-06 15:51:06 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2019-12-06 15:51:06 (GMT) |
commit | 1f871e23b7c3fdec925004f2cd39d3a2cdd8decb (patch) | |
tree | 0f267b01ff7617ee44c904fc6ad7cbd4d13303f9 /src/H5FD.c | |
parent | 463199464f2b5c9f798b23ffe3f1db139b68f4d2 (diff) | |
parent | 107bcbd3dfff51895c99ea3ff71afa0ce693a956 (diff) | |
download | hdf5-1f871e23b7c3fdec925004f2cd39d3a2cdd8decb.zip hdf5-1f871e23b7c3fdec925004f2cd39d3a2cdd8decb.tar.gz hdf5-1f871e23b7c3fdec925004f2cd39d3a2cdd8decb.tar.bz2 |
Merge branch 'develop' of https://git.hdfgroup.org/scm/hdffv/hdf5 into develop
Diffstat (limited to 'src/H5FD.c')
-rw-r--r-- | src/H5FD.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -241,7 +241,7 @@ H5FDregister(const H5FD_class_t *cls) HGOTO_ERROR(H5E_ARGS, H5E_UNINITIALIZED, H5I_INVALID_HID, "'get_eof' method is not defined") if(!cls->read || !cls->write) HGOTO_ERROR(H5E_ARGS, H5E_UNINITIALIZED, H5I_INVALID_HID, "'read' and/or 'write' method is not defined") - for (type = H5FD_MEM_DEFAULT; type < H5FD_MEM_NTYPES; H5_INC_ENUM(H5FD_mem_t,type)) + for (type = H5FD_MEM_DEFAULT; type < H5FD_MEM_NTYPES; type++) if(cls->fl_map[type] < H5FD_MEM_NOLIST || cls->fl_map[type] >= H5FD_MEM_NTYPES) HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, H5I_INVALID_HID, "invalid free-list mapping") @@ -286,7 +286,7 @@ H5FD_register(const void *_cls, size_t size, hbool_t app_ref) HDassert(cls->get_eoa && cls->set_eoa); HDassert(cls->get_eof); HDassert(cls->read && cls->write); - for(type = H5FD_MEM_DEFAULT; type < H5FD_MEM_NTYPES; H5_INC_ENUM(H5FD_mem_t, type)) { + for(type = H5FD_MEM_DEFAULT; type < H5FD_MEM_NTYPES; type++) { HDassert(cls->fl_map[type] >= H5FD_MEM_NOLIST && cls->fl_map[type] < H5FD_MEM_NTYPES); } |