summaryrefslogtreecommitdiffstats
path: root/src/H5EAtest.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-09-24 10:20:30 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-09-24 10:20:30 (GMT)
commit6eb506eff76b5455f8aac8889c6809aca2d8be52 (patch)
tree8a019b76be92187369b82e128e7dea7f6fe79443 /src/H5EAtest.c
parent40b2eae5e961c7f40b483ace05d3cf2b35d1fb62 (diff)
downloadhdf5-6eb506eff76b5455f8aac8889c6809aca2d8be52.zip
hdf5-6eb506eff76b5455f8aac8889c6809aca2d8be52.tar.gz
hdf5-6eb506eff76b5455f8aac8889c6809aca2d8be52.tar.bz2
Revert "Moved NDEBUG guards to H5EA_DEBUG in H5EA package."
This reverts commit 431123503d387bce30b1f6db7dc4ad3a33bc51bb.
Diffstat (limited to 'src/H5EAtest.c')
-rw-r--r--src/H5EAtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5EAtest.c b/src/H5EAtest.c
index b7064de..814e64f 100644
--- a/src/H5EAtest.c
+++ b/src/H5EAtest.c
@@ -282,9 +282,9 @@ herr_t, SUCCEED, -,
H5EA__test_decode(const void *_raw, void *_elmt, size_t nelmts, void *_ctx))
/* Local variables */
-#ifdef H5EA_DEBUG
+#ifndef NDEBUG
H5EA__test_ctx_t *ctx = (H5EA__test_ctx_t *)_ctx; /* Callback context to destroy */
-#endif /* H5EA_DEBUG */
+#endif /* NDEBUG */
uint64_t *elmt = (uint64_t *)_elmt; /* Convenience pointer to native elements */
const uint8_t *raw = (const uint8_t *)_raw; /* Convenience pointer to raw elements */