summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2012-06-25 22:00:06 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2012-06-25 22:00:06 (GMT)
commit9ded3f59ed614d4e25ab18acf274e59bd5888d8a (patch)
tree7a6fa8afb9d16d5cd1e3ab050db4aa8d765963eb /src/H5D.c
parent02a0bd53e89c79508899ef28bfb7f038a1612aa7 (diff)
downloadhdf5-9ded3f59ed614d4e25ab18acf274e59bd5888d8a.zip
hdf5-9ded3f59ed614d4e25ab18acf274e59bd5888d8a.tar.gz
hdf5-9ded3f59ed614d4e25ab18acf274e59bd5888d8a.tar.bz2
[svn-r22490] I took out the "return an error" line in H5Dget_offset, to match what the RM says about the function behavior.
Quincey added it some time ago without realizing it caused test errors (Issue 8072). Tested on ostrich, MacGoblin - simple change.
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/H5D.c b/src/H5D.c
index cf93399..da050ab 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -825,8 +825,6 @@ H5Dget_offset(hid_t dset_id)
/* Set return value */
ret_value = H5D__get_offset(dset);
- if(!H5F_addr_defined(ret_value))
- HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, HADDR_UNDEF, "unable to get space status")
done:
FUNC_LEAVE_API(ret_value)