diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2008-09-10 19:10:41 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2008-09-10 19:10:41 (GMT) |
commit | c465e18a68f2a77550d93366a5b6c8fac2e24502 (patch) | |
tree | bd3649f75f1507040b68d8e15c63333600816360 /src/H5I.c | |
parent | 068620ea815d8590982069cfb6374e07d3c8e1e6 (diff) | |
download | hdf5-c465e18a68f2a77550d93366a5b6c8fac2e24502.zip hdf5-c465e18a68f2a77550d93366a5b6c8fac2e24502.tar.gz hdf5-c465e18a68f2a77550d93366a5b6c8fac2e24502.tar.bz2 |
[svn-r15609] Description:
Omnibus compiler warning cleanup & some reformatting also.
Tested on:
Mac OS X/32 10.5.4 (amazon)
Too minor to require h5committest
Diffstat (limited to 'src/H5I.c')
-rw-r--r-- | src/H5I.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -90,7 +90,7 @@ typedef struct H5I_id_info_t { hid_t id; /* ID for this info */ unsigned count; /* ref. count for this atom */ - unsigned app_count; + unsigned app_count; /* ref. count of application visible atoms */ void *obj_ptr; /* pointer associated with the atom */ struct H5I_id_info_t *next; /* link to next atom (in case of hash-clash)*/ } H5I_id_info_t; @@ -1385,7 +1385,7 @@ H5I_dec_ref(hid_t id, hbool_t app_ref) --(id_ptr->count); if (app_ref) --(id_ptr->app_count); - HDassert((id_ptr->count >= id_ptr->app_count) && (id_ptr->app_count >= 0)); + HDassert(id_ptr->count >= id_ptr->app_count); ret_value = app_ref ? id_ptr->app_count : id_ptr->count; } |