summaryrefslogtreecommitdiffstats
path: root/src/H5R.c
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2012-09-10 19:38:55 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2012-09-10 19:38:55 (GMT)
commitf5efc5224f6058c23a551a21ea8a899612883c13 (patch)
treeee17b223d51df24c692f079f7ec3d4b8ea183480 /src/H5R.c
parentb951fb9fe18370c5201846e348168996e7a59a1d (diff)
downloadhdf5-f5efc5224f6058c23a551a21ea8a899612883c13.zip
hdf5-f5efc5224f6058c23a551a21ea8a899612883c13.tar.gz
hdf5-f5efc5224f6058c23a551a21ea8a899612883c13.tar.bz2
[svn-r22750] Removed check-in r22746 because it causes an error in objcopy on Linew 64 byte. Will check-in again after
the issue is resolved.
Diffstat (limited to 'src/H5R.c')
-rw-r--r--src/H5R.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/H5R.c b/src/H5R.c
index f34980e..d45947b 100644
--- a/src/H5R.c
+++ b/src/H5R.c
@@ -568,7 +568,6 @@ H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *_r
{
H5G_loc_t loc; /* Group location */
H5F_t *file = NULL; /* File object */
- haddr_t addr;
hid_t ret_value;
FUNC_ENTER_API(FAIL)
@@ -583,9 +582,6 @@ H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *_r
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid reference type")
if(_ref == NULL)
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid reference pointer")
- addr = *((const haddr_t*)_ref);
- if(!H5F_addr_defined(addr))
- HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "undefined reference pointer")
/* Get the file pointer from the entry */
file = loc.oloc->file;