diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-07-25 23:05:54 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-07-25 23:05:54 (GMT) |
commit | d36da471a9921489100e8e717bdaa58df3b5be03 (patch) | |
tree | ccd34963c2c3f73dc909ba803e8e0ec1b735feca /src | |
parent | 04487a22caecfbce75e822c6a008854a58a46893 (diff) | |
download | hdf5-d36da471a9921489100e8e717bdaa58df3b5be03.zip hdf5-d36da471a9921489100e8e717bdaa58df3b5be03.tar.gz hdf5-d36da471a9921489100e8e717bdaa58df3b5be03.tar.bz2 |
[svn-r22603] set return value in H5Rcreate
Diffstat (limited to 'src')
-rw-r--r-- | src/H5R.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -374,8 +374,8 @@ H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "ID does not contain VOL information") /* create the ref through the VOL */ - if(H5VL_object_misc(obj, loc_params, vol_plugin, H5VL_REF_CREATE, H5_REQUEST_NULL, - ref, name, ref_type, space_id) < 0) + if(ret_value = H5VL_object_misc(obj, loc_params, vol_plugin, H5VL_REF_CREATE, H5_REQUEST_NULL, + ref, name, ref_type, space_id) < 0) HGOTO_ERROR(H5E_OHDR, H5E_LINKCOUNT, FAIL, "modifying object link count failed") done: |