summaryrefslogtreecommitdiffstats
path: root/src/H5HLprfx.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-08-03 12:57:29 (GMT)
committerGitHub <noreply@github.com>2023-08-03 12:57:29 (GMT)
commit7fc8531b767855e69fb4016783a1131ba581fd5b (patch)
treea243310b99da59c858ae4eaeed8c452e0177bba4 /src/H5HLprfx.c
parenta77d8bfcd7d066c6759b0346c02cbd612f90b7c2 (diff)
downloadhdf5-7fc8531b767855e69fb4016783a1131ba581fd5b.zip
hdf5-7fc8531b767855e69fb4016783a1131ba581fd5b.tar.gz
hdf5-7fc8531b767855e69fb4016783a1131ba581fd5b.tar.bz2
Merge Made HGOTO_ERROR a do-while loop changes from develop (#3334)
Diffstat (limited to 'src/H5HLprfx.c')
-rw-r--r--src/H5HLprfx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5HLprfx.c b/src/H5HLprfx.c
index 4eb0d15..6011e8e 100644
--- a/src/H5HLprfx.c
+++ b/src/H5HLprfx.c
@@ -87,11 +87,11 @@ H5HL__prfx_new(H5HL_t *heap)
/* Allocate new local heap prefix */
if (NULL == (prfx = H5FL_CALLOC(H5HL_prfx_t)))
- HGOTO_ERROR(H5E_HEAP, H5E_CANTALLOC, NULL, "memory allocation failed for local heap prefix")
+ HGOTO_ERROR(H5E_HEAP, H5E_CANTALLOC, NULL, "memory allocation failed for local heap prefix");
/* Increment ref. count on heap data structure */
if (FAIL == H5HL__inc_rc(heap))
- HGOTO_ERROR(H5E_HEAP, H5E_CANTINC, NULL, "can't increment heap ref. count")
+ HGOTO_ERROR(H5E_HEAP, H5E_CANTINC, NULL, "can't increment heap ref. count");
/* Link the heap & the prefix */
prfx->heap = heap;
@@ -135,7 +135,7 @@ H5HL__prfx_dest(H5HL_prfx_t *prfx)
/* Decrement ref. count on heap data structure */
if (FAIL == H5HL__dec_rc(prfx->heap))
- HGOTO_ERROR(H5E_HEAP, H5E_CANTDEC, FAIL, "can't decrement heap ref. count")
+ HGOTO_ERROR(H5E_HEAP, H5E_CANTDEC, FAIL, "can't decrement heap ref. count");
/* Unlink heap from prefix */
prfx->heap = NULL;