summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-11-13 17:42:50 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2019-11-13 17:42:50 (GMT)
commit19e3b93c81784da50893ef3d2913046491b8dd9f (patch)
tree71402e0b9106fa38b3496dadea08ce4266746846 /src
parent408d2087108b95256a39ea4d2c547ee64b92c1ec (diff)
downloadhdf5-19e3b93c81784da50893ef3d2913046491b8dd9f.zip
hdf5-19e3b93c81784da50893ef3d2913046491b8dd9f.tar.gz
hdf5-19e3b93c81784da50893ef3d2913046491b8dd9f.tar.bz2
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.
Diffstat (limited to 'src')
-rw-r--r--src/H5Shyper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c
index 9feb8de..cd702e0 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -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);