summaryrefslogtreecommitdiffstats
path: root/src/H5EAtest.c
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/H5EAtest.c
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/H5EAtest.c')
-rw-r--r--src/H5EAtest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5EAtest.c b/src/H5EAtest.c
index f15f2ee..3f44e71 100644
--- a/src/H5EAtest.c
+++ b/src/H5EAtest.c
@@ -125,7 +125,7 @@ H5EA__test_crt_context(void *_udata)
/* Allocate new context structure */
if (NULL == (ctx = H5FL_MALLOC(H5EA__test_ctx_t)))
HGOTO_ERROR(H5E_EARRAY, H5E_CANTALLOC, NULL,
- "can't allocate extensible array client callback context")
+ "can't allocate extensible array client callback context");
/* Initialize the context */
ctx->bogus = H5EA__TEST_BOGUS_VAL;
@@ -218,7 +218,7 @@ H5EA__test_encode(void *raw, const void *_elmt, size_t nelmts, void *_ctx)
/* Check for callback action */
if (ctx->cb) {
if ((*ctx->cb->encode)(elmt, nelmts, ctx->cb->udata) < 0)
- HGOTO_ERROR(H5E_EARRAY, H5E_BADVALUE, FAIL, "extensible array testing callback action failed")
+ HGOTO_ERROR(H5E_EARRAY, H5E_BADVALUE, FAIL, "extensible array testing callback action failed");
}
/* Encode native elements into raw elements */
@@ -329,7 +329,7 @@ H5EA__test_crt_dbg_context(H5F_t H5_ATTR_UNUSED *f, haddr_t H5_ATTR_UNUSED obj_a
/* Allocate new context structure */
if (NULL == (ctx = H5FL_MALLOC(H5EA__ctx_cb_t)))
HGOTO_ERROR(H5E_EARRAY, H5E_CANTALLOC, NULL,
- "can't allocate extensible array client callback context")
+ "can't allocate extensible array client callback context");
/* Set return value */
ret_value = ctx;