Use FUNC_ENTER_STATIC_NOERR instead of FUNC_ENTER_STATIC for a function

that does not generate its own error, so GCC does not warn that
err_occurred (or whatever it is called) is unused or set and unused.
This commit is contained in:
David Young 2019-11-13 11:42:50 -06:00
parent 408d208710
commit 19e3b93c81

View File

@ -6267,7 +6267,7 @@ H5S__hyper_intersect_block(const H5S_t *space, const hsize_t *start, const hsize
{
htri_t ret_value = FAIL; /* Return value */
FUNC_ENTER_STATIC
FUNC_ENTER_STATIC_NOERR
/* Sanity check */
HDassert(space);