summaryrefslogtreecommitdiffstats
path: root/src/H5HFbtree2.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/H5HFbtree2.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/H5HFbtree2.c')
-rw-r--r--src/H5HFbtree2.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5HFbtree2.c b/src/H5HFbtree2.c
index c5d12c9..56e5270 100644
--- a/src/H5HFbtree2.c
+++ b/src/H5HFbtree2.c
@@ -196,7 +196,7 @@ H5HF__huge_bt2_crt_context(void *_f)
/* Allocate callback context */
if (NULL == (ctx = H5FL_MALLOC(H5HF_huge_bt2_ctx_t)))
- HGOTO_ERROR(H5E_HEAP, H5E_CANTALLOC, NULL, "can't allocate callback context")
+ HGOTO_ERROR(H5E_HEAP, H5E_CANTALLOC, NULL, "can't allocate callback context");
/* Determine the size of addresses & lengths in the file */
ctx->sizeof_addr = H5F_SIZEOF_ADDR(f);
@@ -280,7 +280,7 @@ H5HF__huge_bt2_indir_remove(const void *nrecord, void *_udata)
/* Free the space in the file for the object being removed */
if (H5MF_xfree(udata->hdr->f, H5FD_MEM_FHEAP_HUGE_OBJ, ((const H5HF_huge_bt2_indir_rec_t *)nrecord)->addr,
((const H5HF_huge_bt2_indir_rec_t *)nrecord)->len) < 0)
- HGOTO_ERROR(H5E_HEAP, H5E_CANTFREE, FAIL, "unable to free space for huge object on disk")
+ HGOTO_ERROR(H5E_HEAP, H5E_CANTFREE, FAIL, "unable to free space for huge object on disk");
/* Set the length of the object removed */
udata->obj_len = ((const H5HF_huge_bt2_indir_rec_t *)nrecord)->len;
@@ -457,7 +457,7 @@ H5HF__huge_bt2_filt_indir_remove(const void *nrecord, void *_udata)
if (H5MF_xfree(udata->hdr->f, H5FD_MEM_FHEAP_HUGE_OBJ,
((const H5HF_huge_bt2_filt_indir_rec_t *)nrecord)->addr,
((const H5HF_huge_bt2_filt_indir_rec_t *)nrecord)->len) < 0)
- HGOTO_ERROR(H5E_HEAP, H5E_CANTFREE, FAIL, "unable to free space for huge object on disk")
+ HGOTO_ERROR(H5E_HEAP, H5E_CANTFREE, FAIL, "unable to free space for huge object on disk");
/* Set the length of the object removed */
udata->obj_len = ((const H5HF_huge_bt2_filt_indir_rec_t *)nrecord)->obj_size;
@@ -617,7 +617,7 @@ H5HF__huge_bt2_dir_remove(const void *nrecord, void *_udata)
/* Free the space in the file for the object being removed */
if (H5MF_xfree(udata->hdr->f, H5FD_MEM_FHEAP_HUGE_OBJ, ((const H5HF_huge_bt2_indir_rec_t *)nrecord)->addr,
((const H5HF_huge_bt2_indir_rec_t *)nrecord)->len) < 0)
- HGOTO_ERROR(H5E_HEAP, H5E_CANTFREE, FAIL, "unable to free space for huge object on disk")
+ HGOTO_ERROR(H5E_HEAP, H5E_CANTFREE, FAIL, "unable to free space for huge object on disk");
/* Set the length of the object removed */
udata->obj_len = ((const H5HF_huge_bt2_indir_rec_t *)nrecord)->len;
@@ -803,7 +803,7 @@ H5HF__huge_bt2_filt_dir_remove(const void *nrecord, void *_udata)
if (H5MF_xfree(udata->hdr->f, H5FD_MEM_FHEAP_HUGE_OBJ,
((const H5HF_huge_bt2_filt_dir_rec_t *)nrecord)->addr,
((const H5HF_huge_bt2_filt_dir_rec_t *)nrecord)->len) < 0)
- HGOTO_ERROR(H5E_HEAP, H5E_CANTFREE, FAIL, "unable to free space for huge object on disk")
+ HGOTO_ERROR(H5E_HEAP, H5E_CANTFREE, FAIL, "unable to free space for huge object on disk");
/* Set the length of the object removed */
udata->obj_len = ((const H5HF_huge_bt2_filt_dir_rec_t *)nrecord)->obj_size;