diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-05-20 18:43:31 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-05-20 18:43:31 (GMT) |
commit | 03ab48c9c306fee878c4f3a97f858f90c078bfdf (patch) | |
tree | 5b2feadc09e9654a47f1af5d9512482fe36327d8 /src/H5FD.c | |
parent | 75494847bb75617e90edb001ff69e555532499fa (diff) | |
download | hdf5-03ab48c9c306fee878c4f3a97f858f90c078bfdf.zip hdf5-03ab48c9c306fee878c4f3a97f858f90c078bfdf.tar.gz hdf5-03ab48c9c306fee878c4f3a97f858f90c078bfdf.tar.bz2 |
[svn-r5444] Purpose:
Code cleanup
Description:
Clean up warnings on IRIX64 6.5 (modi4)
Platforms tested:
IRIX64 6.5 (modi4)
Diffstat (limited to 'src/H5FD.c')
-rw-r--r-- | src/H5FD.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -207,7 +207,7 @@ H5FDregister(const H5FD_class_t *cls) HRETURN_ERROR(H5E_ARGS, H5E_UNINITIALIZED, FAIL, "`read' and/or `write' method is not defined"); } - for (type=H5FD_MEM_DEFAULT; type<H5FD_MEM_NTYPES; type = type+1) { + for (type=H5FD_MEM_DEFAULT; type<H5FD_MEM_NTYPES; H5_INC_ENUM(H5FD_mem_t,type)) { if (cls->fl_map[type]<H5FD_MEM_NOLIST || cls->fl_map[type]>=H5FD_MEM_NTYPES) { HRETURN_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, @@ -904,7 +904,7 @@ H5FD_close(H5FD_t *file) /* Free all free-lists, leaking any memory thus described. Also leaks * file space allocated but not used when metadata aggregation is * turned on. */ - for (i=H5FD_MEM_DEFAULT; i<H5FD_MEM_NTYPES; i=i+1) { + for (i=H5FD_MEM_DEFAULT; i<H5FD_MEM_NTYPES; H5_INC_ENUM(H5FD_mem_t,i)) { for (cur=file->fl[i]; cur; cur=next) { #ifdef H5F_DEBUG nblocks++; |