diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-05-09 18:18:21 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-05-09 18:18:21 (GMT) |
commit | 7d9c86097afb9a00b8f37503b435091ff5aef07e (patch) | |
tree | b474ad4296036535594f532cf948a20c86ccda98 /src/H5R.c | |
parent | c390d06017bb7700f116b4d7523d586f5f9e6a9a (diff) | |
download | hdf5-7d9c86097afb9a00b8f37503b435091ff5aef07e.zip hdf5-7d9c86097afb9a00b8f37503b435091ff5aef07e.tar.gz hdf5-7d9c86097afb9a00b8f37503b435091ff5aef07e.tar.bz2 |
[svn-r6843] Purpose:
Code cleanup
Description:
Clean up warnings exposed by compiling on O2K. Also, revert some of Bill
and my changes to the H5S_mpi_opt_types_g, etc. and settle them back into their
original location.
Platforms tested:
h5committested.
Diffstat (limited to 'src/H5R.c')
-rw-r--r-- | src/H5R.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -870,9 +870,9 @@ H5Rget_obj_type(hid_t id, H5R_type_t ref_type, void *_ref) /* Check args */ if (NULL == (loc = H5G_loc(id))) - HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a location"); + HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5G_UNKNOWN, "not a location"); if(ref_type<=H5R_BADTYPE || ref_type>=H5R_MAXTYPE) - HGOTO_ERROR (H5E_ARGS, H5E_BADVALUE, FAIL, "invalid reference type"); + HGOTO_ERROR (H5E_ARGS, H5E_BADVALUE, H5G_UNKNOWN, "invalid reference type"); if(_ref==NULL) HGOTO_ERROR (H5E_ARGS, H5E_BADVALUE, H5G_UNKNOWN, "invalid reference pointer"); |