summaryrefslogtreecommitdiffstats
path: root/src/H5HG.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5HG.c')
-rw-r--r--src/H5HG.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5HG.c b/src/H5HG.c
index c1c574c..f474748 100644
--- a/src/H5HG.c
+++ b/src/H5HG.c
@@ -598,7 +598,7 @@ H5HG_read(H5F_t *f, H5HG_t *hobj, void *object /*out*/, size_t *buf_size)
if (NULL == (heap = H5HG__protect(f, hobj->addr, H5AC__READ_ONLY_FLAG)))
HGOTO_ERROR(H5E_HEAP, H5E_CANTPROTECT, NULL, "unable to protect global heap")
- if (hobj->idx >= heap->nused && H5HG_trap("out of bounds"))
+ if (hobj->idx >= heap->nused)
HGOTO_ERROR(H5E_HEAP, H5E_BADRANGE, NULL, "address out of bounds")
HDassert(hobj->idx < heap->nused);