summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-07-25 23:05:54 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-07-25 23:05:54 (GMT)
commitd36da471a9921489100e8e717bdaa58df3b5be03 (patch)
treeccd34963c2c3f73dc909ba803e8e0ec1b735feca /src
parent04487a22caecfbce75e822c6a008854a58a46893 (diff)
downloadhdf5-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5R.c b/src/H5R.c
index 365b645..af471ee 100644
--- a/src/H5R.c
+++ b/src/H5R.c
@@ -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: