summaryrefslogtreecommitdiffstats
path: root/src/H5Goh.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-02-03 23:42:24 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-02-03 23:42:24 (GMT)
commitba149f834f1cfa431e320ff6b7f985f71c8ca8c4 (patch)
tree70c64fc4f3b444e56b1593bbff3309c7dddeb9d8 /src/H5Goh.c
parent9ada07ef3a98f12fe04cedc331e5f6a4b570b57e (diff)
downloadhdf5-ba149f834f1cfa431e320ff6b7f985f71c8ca8c4.zip
hdf5-ba149f834f1cfa431e320ff6b7f985f71c8ca8c4.tar.gz
hdf5-ba149f834f1cfa431e320ff6b7f985f71c8ca8c4.tar.bz2
[svn-r16414] Description:
Eliminate some more calls to H5E_clear_stack() from within library code. Clean up some warnings & comments also. Tested on: Mac OS X/32 10.5.6 (amazon) (Too minor to require h5committest)
Diffstat (limited to 'src/H5Goh.c')
-rw-r--r--src/H5Goh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Goh.c b/src/H5Goh.c
index aa0fbe6..d727cb7 100644
--- a/src/H5Goh.c
+++ b/src/H5Goh.c
@@ -110,9 +110,9 @@ H5O_group_isa(struct H5O_t *oh)
/* Check for any of the messages that indicate a group */
if((stab_exists = H5O_msg_exists_oh(oh, H5O_STAB_ID)) < 0)
- HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to read object header")
+ HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL, "unable to read object header")
if((linfo_exists = H5O_msg_exists_oh(oh, H5O_LINFO_ID)) < 0)
- HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to read object header")
+ HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL, "unable to read object header")
ret_value = (stab_exists > 0 || linfo_exists > 0);
@@ -273,7 +273,7 @@ H5O_group_bh_info(H5F_t *f, hid_t dxpl_id, H5O_t *oh, H5_ih_info_t *bh_info)
/* Check for "new style" group info */
if((exists = H5O_msg_exists_oh(oh, H5O_LINFO_ID)) < 0)
- HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to read object header")
+ HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL, "unable to read object header")
if(exists > 0) {
H5O_linfo_t linfo; /* Link info message */