summaryrefslogtreecommitdiffstats
path: root/src/H5Cquery.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2017-02-25 11:40:00 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2017-02-25 11:40:00 (GMT)
commit321adc3a6f35e3e8f3b3c7be8680fcdff6660db6 (patch)
treee4ea7988d00c7a52eb47b451d035f92f1d084bc4 /src/H5Cquery.c
parent1b8c195eb7b277c6b39061b6acac2583a7ee100a (diff)
downloadhdf5-321adc3a6f35e3e8f3b3c7be8680fcdff6660db6.zip
hdf5-321adc3a6f35e3e8f3b3c7be8680fcdff6660db6.tar.gz
hdf5-321adc3a6f35e3e8f3b3c7be8680fcdff6660db6.tar.bz2
Align w/incoming page buffering changes.
Diffstat (limited to 'src/H5Cquery.c')
-rw-r--r--src/H5Cquery.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Cquery.c b/src/H5Cquery.c
index 03aadb0..33a322d 100644
--- a/src/H5Cquery.c
+++ b/src/H5Cquery.c
@@ -444,7 +444,8 @@ H5C_get_entry_ring(const H5F_t *f, haddr_t addr, H5C_ring_t *ring)
/* Locate the entry at the address */
H5C__SEARCH_INDEX(cache_ptr, addr, entry_ptr, FAIL)
- HDassert(entry_ptr);
+ if(entry_ptr == NULL)
+ HGOTO_ERROR(H5E_CACHE, H5E_NOTFOUND, FAIL, "can't find entry in index")
/* Return the ring value */
*ring = entry_ptr->ring;