From 652e02db4ee67fb5546050078487fca5794d8f39 Mon Sep 17 00:00:00 2001 From: Dana Robinson Date: Sun, 11 Dec 2016 14:46:32 -0500 Subject: Removed NDEBUG guards from H5AC test functions. H5AC_dump_cache() is now used in test/cache_tagging.c and the underlying H5C functions are not protected by NDEBUG guards. --- src/H5ACdbg.c | 2 -- src/H5ACprivate.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/H5ACdbg.c b/src/H5ACdbg.c index 3830606..6120242 100644 --- a/src/H5ACdbg.c +++ b/src/H5ACdbg.c @@ -72,7 +72,6 @@ /*******************/ -#ifndef NDEBUG /* debugging functions */ /*------------------------------------------------------------------------- * Function: H5AC_stats @@ -134,7 +133,6 @@ H5AC_dump_cache(const H5F_t *f) done: FUNC_LEAVE_NOAPI(ret_value) } /* H5AC_dump_cache() */ -#endif /* NDEBUG */ /*------------------------------------------------------------------------- diff --git a/src/H5ACprivate.h b/src/H5ACprivate.h index bbaa614..48b7c6b 100644 --- a/src/H5ACprivate.h +++ b/src/H5ACprivate.h @@ -419,10 +419,8 @@ H5_DLL herr_t H5AC_add_candidate(H5AC_t * cache_ptr, haddr_t addr); #endif /* H5_HAVE_PARALLEL */ /* Debugging functions */ -#ifndef NDEBUG H5_DLL herr_t H5AC_stats(const H5F_t *f); H5_DLL herr_t H5AC_dump_cache(const H5F_t *f); -#endif /* NDEBUG */ /* end debugging functions */ #endif /* !_H5ACprivate_H */ -- cgit v0.12