summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {