summaryrefslogtreecommitdiffstats
path: root/src/H5I.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-05-20 18:43:31 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-05-20 18:43:31 (GMT)
commit03ab48c9c306fee878c4f3a97f858f90c078bfdf (patch)
tree5b2feadc09e9654a47f1af5d9512482fe36327d8 /src/H5I.c
parent75494847bb75617e90edb001ff69e555532499fa (diff)
downloadhdf5-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/H5I.c')
-rw-r--r--src/H5I.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5I.c b/src/H5I.c
index 1f47030..f7992f7 100644
--- a/src/H5I.c
+++ b/src/H5I.c
@@ -121,14 +121,14 @@ H5I_term_interface(void)
if (interface_initialize_g) {
/* How many groups are still being used? */
- for (grp=(H5I_type_t)0; grp<H5I_NGROUPS; grp=grp+1) {
+ for (grp=(H5I_type_t)0; grp<H5I_NGROUPS; H5_INC_ENUM(H5I_type_t,grp)) {
if ((grp_ptr=H5I_id_group_list_g[grp]) && grp_ptr->id_list)
n++;
}
/* If no groups are used then clean up */
if (0==n) {
- for (grp=(H5I_type_t)0; grp<H5I_NGROUPS; grp=grp+1) {
+ for (grp=(H5I_type_t)0; grp<H5I_NGROUPS; H5_INC_ENUM(H5I_type_t,grp)) {
grp_ptr = H5I_id_group_list_g[grp];
H5MM_xfree(grp_ptr);
H5I_id_group_list_g[grp] = NULL;