summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2023-08-02 13:39:15 (GMT)
committerGitHub <noreply@github.com>2023-08-02 13:39:15 (GMT)
commit2b0badb90e4e516d0758efbd8ec96449188c7249 (patch)
tree074e38039b95ca7121a0117069974eff52a04519 /src/H5private.h
parent56451503c55ef6e5f67fc3bb710f9e5b649b1af2 (diff)
downloadhdf5-2b0badb90e4e516d0758efbd8ec96449188c7249.zip
hdf5-2b0badb90e4e516d0758efbd8ec96449188c7249.tar.gz
hdf5-2b0badb90e4e516d0758efbd8ec96449188c7249.tar.bz2
Made HGOTO_ERROR a do-while loop (#3308)
* Made HGOTO_ERROR a do-while loop
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5private.h b/src/H5private.h
index faadad4..2a03e11 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -1557,7 +1557,7 @@ H5_DLL herr_t H5CX_pop(hbool_t update_dxpl_props);
/* Initialize the library */ \
if (!H5_INIT_GLOBAL && !H5_TERM_GLOBAL) { \
if (H5_init_library() < 0) \
- HGOTO_ERROR(H5E_FUNC, H5E_CANTINIT, err, "library initialization failed") \
+ HGOTO_ERROR(H5E_FUNC, H5E_CANTINIT, err, "library initialization failed"); \
}
#define FUNC_ENTER_API_PUSH(err) \
@@ -1566,7 +1566,7 @@ H5_DLL herr_t H5CX_pop(hbool_t update_dxpl_props);
\
/* Push the API context */ \
if (H5CX_push() < 0) \
- HGOTO_ERROR(H5E_FUNC, H5E_CANTSET, err, "can't set API context") \
+ HGOTO_ERROR(H5E_FUNC, H5E_CANTSET, err, "can't set API context"); \
else \
api_ctx_pushed = TRUE;