diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-08-08 17:52:17 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-08-08 17:52:17 (GMT) |
commit | 6680e94aebf3f7b2929c740c7951b4bcf3f9b555 (patch) | |
tree | 6f0d4a47c1ad88413ab94574cd2e8eac75253214 /src/H5I.c | |
parent | d8397a6f426227d09d20e647ce8b12b8c6295b2d (diff) | |
download | hdf5-6680e94aebf3f7b2929c740c7951b4bcf3f9b555.zip hdf5-6680e94aebf3f7b2929c740c7951b4bcf3f9b555.tar.gz hdf5-6680e94aebf3f7b2929c740c7951b4bcf3f9b555.tar.bz2 |
[svn-r5843] Purpose:
Code cleanup
Description:
Clean up a few warnings which were showing up with --enable-production
turned on.
Platforms tested:
FreeBSD 4.6 (sleipnir) serial & parallel
Diffstat (limited to 'src/H5I.c')
-rw-r--r-- | src/H5I.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -356,7 +356,7 @@ H5I_clear_group(H5I_type_t grp, hbool_t force) /* Check for a 'free' function and call it, if it exists */ if (grp_ptr->free_func && (grp_ptr->free_func)(cur->obj_ptr)<0) { if (force) { -#if H5I_DEBUG +#ifdef H5I_DEBUG if (H5DEBUG(I)) { fprintf(H5DEBUG(I), "H5I: free grp=%d obj=0x%08lx " "failure ignored\n", (int)grp, @@ -879,7 +879,7 @@ H5I_dec_ref(hid_t id) H5I_type_t grp = H5I_GROUP(id); /*group the object is in*/ H5I_id_group_t *grp_ptr = NULL; /*ptr to the group */ H5I_id_info_t *id_ptr = NULL; /*ptr to the new ID */ - int ret_value; /*return value */ + int ret_value=FAIL; /*return value */ FUNC_ENTER_NOAPI(H5I_dec_ref, FAIL); |