summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-09-18 20:25:02 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-09-18 20:25:02 (GMT)
commit911b1ca67fdf7c2f3a32dd42c591e4e9b2fa1950 (patch)
tree5719653bdbffc05e63afdcebc5da5ca61e577a1b /src
parent57f1a2124c65283fc48c4ca700392e1682d0e754 (diff)
downloadhdf5-911b1ca67fdf7c2f3a32dd42c591e4e9b2fa1950.zip
hdf5-911b1ca67fdf7c2f3a32dd42c591e4e9b2fa1950.tar.gz
hdf5-911b1ca67fdf7c2f3a32dd42c591e4e9b2fa1950.tar.bz2
Fix for H5EA debug package when built in release mode.
Diffstat (limited to 'src')
-rw-r--r--src/H5EAtest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5EAtest.c b/src/H5EAtest.c
index b7064de..f7731eb 100644
--- a/src/H5EAtest.c
+++ b/src/H5EAtest.c
@@ -292,7 +292,9 @@ H5EA__test_decode(const void *_raw, void *_elmt, size_t nelmts, void *_ctx))
HDassert(raw);
HDassert(elmt);
HDassert(nelmts);
+#ifdef H5EA_DEBUG
HDassert(H5EA__TEST_BOGUS_VAL == ctx->bogus);
+#endif /* H5EA_DEBUG */
/* Decode raw elements into native elements */
while(nelmts) {