summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2012-06-26 22:17:40 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2012-06-26 22:17:40 (GMT)
commit52de056071d9adb4fcf15c0cb82d4343dbb477c8 (patch)
treeff46296c15da9178f97a72fc0ac6fdd76d775ff8 /src
parent97da6adcd0ea493e018c763169440fa9f17d39f5 (diff)
downloadhdf5-52de056071d9adb4fcf15c0cb82d4343dbb477c8.zip
hdf5-52de056071d9adb4fcf15c0cb82d4343dbb477c8.tar.gz
hdf5-52de056071d9adb4fcf15c0cb82d4343dbb477c8.tar.bz2
[svn-r22493] 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, but imported the fix from the trunk - simple change.
Diffstat (limited to 'src')
-rw-r--r--src/H5D.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 4a26665..21fa9c7 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)