diff options
author | kmu <kmu@hdfgroup.org> | 2020-01-09 22:16:23 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2020-01-09 22:16:23 (GMT) |
commit | 6710ed5e0a03de50a5679c92437df82893da6813 (patch) | |
tree | d386f1bfa160f84be4c7963b2506dc1c1599667d /test/h5test.c | |
parent | de28f691ba42e295341ed1098caa1f3b980cc4eb (diff) | |
parent | e05fe70195edb8be9b3e297a37e65e49b226ade2 (diff) | |
download | hdf5-6710ed5e0a03de50a5679c92437df82893da6813.zip hdf5-6710ed5e0a03de50a5679c92437df82893da6813.tar.gz hdf5-6710ed5e0a03de50a5679c92437df82893da6813.tar.bz2 |
Merge branch 'hdf5_1_10' of https://git.hdfgroup.org/scm/~kmu/hdf5 into hdf5_1_10
Diffstat (limited to 'test/h5test.c')
-rw-r--r-- | test/h5test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/h5test.c b/test/h5test.c index b03f23c..495dfdb 100644 --- a/test/h5test.c +++ b/test/h5test.c @@ -231,7 +231,7 @@ h5_delete_test_file(const char *base_name, hid_t fapl) HDassert(HDstrlen(multi_letters) == H5FD_MEM_NTYPES); - for(mt = H5FD_MEM_DEFAULT; mt < H5FD_MEM_NTYPES; H5_INC_ENUM(H5FD_mem_t,mt)) { + for(mt = H5FD_MEM_DEFAULT; mt < H5FD_MEM_NTYPES; mt++) { HDsnprintf(sub_filename, sizeof(sub_filename), "%s-%c.h5", filename, multi_letters[mt]); HDremove(sub_filename); } @@ -941,7 +941,7 @@ h5_get_vfd_fapl(hid_t fapl) HDmemset(memb_addr, 0, sizeof(memb_addr)); HDassert(HDstrlen(multi_letters) == H5FD_MEM_NTYPES); - for(mt = H5FD_MEM_DEFAULT; mt < H5FD_MEM_NTYPES; H5_INC_ENUM(H5FD_mem_t, mt)) { + for(mt = H5FD_MEM_DEFAULT; mt < H5FD_MEM_NTYPES; mt++) { memb_fapl[mt] = H5P_DEFAULT; sv[mt] = (char *)HDmalloc(H5TEST_MULTI_FILENAME_LEN); HDassert(sv[mt]); @@ -953,7 +953,7 @@ h5_get_vfd_fapl(hid_t fapl) if(H5Pset_fapl_multi(fapl, memb_map, memb_fapl, memb_name, memb_addr, FALSE) < 0) goto error; - for(mt = H5FD_MEM_DEFAULT; mt < H5FD_MEM_NTYPES; H5_INC_ENUM(H5FD_mem_t, mt)) + for(mt = H5FD_MEM_DEFAULT; mt < H5FD_MEM_NTYPES; mt++) HDfree(sv[mt]); } else if(!HDstrcmp(tok, "family")) { /* Family of files, each 1MB and using the default driver */ @@ -1285,7 +1285,7 @@ h5_get_file_size(const char *filename, hid_t fapl) h5_stat_size_t tot_size = 0; HDassert(HDstrlen(multi_letters) == H5FD_MEM_NTYPES); - for(mt = H5FD_MEM_DEFAULT; mt < H5FD_MEM_NTYPES; H5_INC_ENUM(H5FD_mem_t, mt)) { + for(mt = H5FD_MEM_DEFAULT; mt < H5FD_MEM_NTYPES; mt++) { /* Create the filename to query */ HDsnprintf(temp, sizeof temp, "%s-%c.h5", filename, multi_letters[mt]); |