From 52de056071d9adb4fcf15c0cb82d4343dbb477c8 Mon Sep 17 00:00:00 2001 From: Raymond Lu Date: Tue, 26 Jun 2012 17:17:40 -0500 Subject: [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. --- src/H5D.c | 2 -- 1 file changed, 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) -- cgit v0.12