summaryrefslogtreecommitdiffstats
path: root/src/H5C.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-05-19 19:59:15 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:37:22 (GMT)
commit95c57f07bce48e0d7f9e16b210e61c3d2dc3b11d (patch)
treeb0a669c0ccae9cbbff4029787168192b761299c9 /src/H5C.c
parentdcb9aa4518e2620d006768e7e90234be96e3c095 (diff)
downloadhdf5-95c57f07bce48e0d7f9e16b210e61c3d2dc3b11d.zip
hdf5-95c57f07bce48e0d7f9e16b210e61c3d2dc3b11d.tar.gz
hdf5-95c57f07bce48e0d7f9e16b210e61c3d2dc3b11d.tar.bz2
Reduce diffs with `develop`.
Diffstat (limited to 'src/H5C.c')
-rw-r--r--src/H5C.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/H5C.c b/src/H5C.c
index 3bc2c5d..7c28595 100644
--- a/src/H5C.c
+++ b/src/H5C.c
@@ -1706,13 +1706,9 @@ H5C_insert_entry(H5F_t * f,
if(test_entry_ptr != NULL) {
if(test_entry_ptr == entry_ptr)
-
HGOTO_ERROR(H5E_CACHE, H5E_CANTINS, FAIL, "entry already in cache")
-
else
-
- HGOTO_ERROR(H5E_CACHE, H5E_CANTINS, FAIL, \
- "duplicate entry in cache")
+ HGOTO_ERROR(H5E_CACHE, H5E_CANTINS, FAIL, "duplicate entry in cache")
} /* end if */
entry_ptr->magic = H5C__H5C_CACHE_ENTRY_T_MAGIC;