summaryrefslogtreecommitdiffstats
path: root/src/H5G.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-04-25 12:10:44 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-04-25 12:10:44 (GMT)
commit0462c0bc2c4ebd0fc2b6343dee0c019d39777efc (patch)
tree6e40644e4b8fac169d5386c3a4734a3cafe069ac /src/H5G.c
parentf023da1e3f9f46142786b95c25ec2e46d0f1b350 (diff)
downloadhdf5-0462c0bc2c4ebd0fc2b6343dee0c019d39777efc.zip
hdf5-0462c0bc2c4ebd0fc2b6343dee0c019d39777efc.tar.gz
hdf5-0462c0bc2c4ebd0fc2b6343dee0c019d39777efc.tar.bz2
[svn-r6752] Purpose:
Code cleanup Description: Remove some cruft left over from the switch from int->H5G_obj_t Platforms tested: FreeBSD 4.8 (sleipnir), triple check not necessary.
Diffstat (limited to 'src/H5G.c')
-rw-r--r--src/H5G.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/H5G.c b/src/H5G.c
index 2b9c043..fb11f8d 100644
--- a/src/H5G.c
+++ b/src/H5G.c
@@ -2525,7 +2525,6 @@ static H5G_obj_t
H5G_get_objtype_by_idx(H5G_t *grp, hsize_t idx, hid_t dxpl_id)
{
H5G_obj_t ret_value = H5G_UNKNOWN;
- herr_t ret;
H5G_bt_ud3_t udata;
FUNC_ENTER_NOAPI(H5G_get_objtype_by_idx, FAIL);
@@ -2535,8 +2534,8 @@ H5G_get_objtype_by_idx(H5G_t *grp, hsize_t idx, hid_t dxpl_id)
udata.group = grp;
/* Iterate over the group members */
- if ((ret = H5B_iterate (H5G_fileof(grp), dxpl_id, H5B_SNODE,
- H5G_node_type, grp->ent.cache.stab.btree_addr, &udata))<0)
+ if (H5B_iterate (H5G_fileof(grp), dxpl_id, H5B_SNODE,
+ H5G_node_type, grp->ent.cache.stab.btree_addr, &udata)<0)
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "iteration operator failed");
ret_value = udata.type;