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