diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2019-09-17 23:53:18 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2019-09-17 23:53:18 (GMT) |
commit | 431123503d387bce30b1f6db7dc4ad3a33bc51bb (patch) | |
tree | cdede4233f3d4195f85865800586148289f13623 /src/H5EAcache.c | |
parent | f5a84c9856888446e329dd36bff842e5a2db708c (diff) | |
download | hdf5-431123503d387bce30b1f6db7dc4ad3a33bc51bb.zip hdf5-431123503d387bce30b1f6db7dc4ad3a33bc51bb.tar.gz hdf5-431123503d387bce30b1f6db7dc4ad3a33bc51bb.tar.bz2 |
Moved NDEBUG guards to H5EA_DEBUG in H5EA package.
Diffstat (limited to 'src/H5EAcache.c')
-rw-r--r-- | src/H5EAcache.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/H5EAcache.c b/src/H5EAcache.c index da67e6b..d55a2b4 100644 --- a/src/H5EAcache.c +++ b/src/H5EAcache.c @@ -581,11 +581,7 @@ H5EA__cache_hdr_notify(H5AC_notify_action_t action, void *_thing)) break; default: -#ifdef NDEBUG H5E_THROW(H5E_BADVALUE, "unknown action from metadata cache") -#else /* NDEBUG */ - HDassert(0 && "Unknown action?!?"); -#endif /* NDEBUG */ } /* end switch */ } /* end if */ else @@ -978,11 +974,7 @@ H5EA__cache_iblock_notify(H5AC_notify_action_t action, void *_thing)) break; default: -#ifdef NDEBUG H5E_THROW(H5E_BADVALUE, "unknown action from metadata cache") -#else /* NDEBUG */ - HDassert(0 && "Unknown action?!?"); -#endif /* NDEBUG */ } /* end switch */ CATCH @@ -1390,11 +1382,7 @@ H5EA__cache_sblock_notify(H5AC_notify_action_t action, void *_thing)) break; default: -#ifdef NDEBUG H5E_THROW(H5E_BADVALUE, "unknown action from metadata cache") -#else /* NDEBUG */ - HDassert(0 && "Unknown action?!?"); -#endif /* NDEBUG */ } /* end switch */ CATCH @@ -1803,11 +1791,7 @@ H5EA__cache_dblock_notify(H5AC_notify_action_t action, void *_thing)) break; default: -#ifdef NDEBUG H5E_THROW(H5E_BADVALUE, "unknown action from metadata cache") -#else /* NDEBUG */ - HDassert(0 && "Unknown action?!?"); -#endif /* NDEBUG */ } /* end switch */ CATCH @@ -2184,11 +2168,7 @@ H5EA__cache_dblk_page_notify(H5AC_notify_action_t action, void *_thing)) break; default: -#ifdef NDEBUG H5E_THROW(H5E_BADVALUE, "unknown action from metadata cache") -#else /* NDEBUG */ - HDassert(0 && "Unknown action?!?"); -#endif /* NDEBUG */ } /* end switch */ CATCH |