summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-10-15 20:02:51 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-10-15 20:02:51 (GMT)
commiteb878857a708ee0b0ae4a03391a42967f3162866 (patch)
treec29e931976eb8b1522ff9c9bd25e61f9c9002812 /src
parent3e38f979816386fd8f35aefe507d78f8a863eaf3 (diff)
downloadhdf5-eb878857a708ee0b0ae4a03391a42967f3162866.zip
hdf5-eb878857a708ee0b0ae4a03391a42967f3162866.tar.gz
hdf5-eb878857a708ee0b0ae4a03391a42967f3162866.tar.bz2
[svn-r7638] Purpose:
Code cleanup Description: Clean up compiler warnings Platforms tested: h5committest
Diffstat (limited to 'src')
-rw-r--r--src/H5G.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5G.c b/src/H5G.c
index 165b535..d8b3fe7 100644
--- a/src/H5G.c
+++ b/src/H5G.c
@@ -563,9 +563,9 @@ H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
/* Check args */
if (NULL==(loc=H5G_loc (loc_id)))
- HGOTO_ERROR (H5E_ARGS, H5E_BADTYPE, FAIL, "not a location ID");
+ HGOTO_ERROR (H5E_ARGS, H5E_BADTYPE, H5G_UNKNOWN, "not a location ID");
if(H5G_get_type(loc,H5AC_ind_dxpl_id)!=H5G_GROUP)
- HGOTO_ERROR (H5E_ARGS, H5E_BADTYPE, FAIL, "not a group");
+ HGOTO_ERROR (H5E_ARGS, H5E_BADTYPE, H5G_UNKNOWN, "not a group");
if (H5G_get_num_objs(loc, &num_objs, H5AC_ind_dxpl_id)<0)
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5G_UNKNOWN, "unable to retrieve number of members");
@@ -2692,7 +2692,7 @@ H5G_get_objtype_by_idx(H5G_entry_t *loc, hsize_t idx, hid_t dxpl_id)
H5G_bt_ud3_t udata; /* User data for B-tree callback */
H5G_obj_t ret_value; /* Return value */
- FUNC_ENTER_NOAPI(H5G_get_objtype_by_idx, FAIL);
+ FUNC_ENTER_NOAPI(H5G_get_objtype_by_idx, H5G_UNKNOWN);
/* Sanity check */
assert(loc);
@@ -2706,7 +2706,7 @@ H5G_get_objtype_by_idx(H5G_entry_t *loc, hsize_t idx, hid_t dxpl_id)
/* Iterate over the group members */
if (H5B_iterate (loc->file, dxpl_id, H5B_SNODE,
H5G_node_type, loc->cache.stab.btree_addr, &udata)<0)
- HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "iteration operator failed");
+ HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5G_UNKNOWN, "iteration operator failed");
ret_value = udata.type;