summaryrefslogtreecommitdiffstats
path: root/src/H5HFsection.c
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2023-07-18 15:35:05 (GMT)
committerGitHub <noreply@github.com>2023-07-18 15:35:05 (GMT)
commit1903c4b1b0bd227b6713364792d241015b4edb5a (patch)
tree4ec8c69091b59707f28c6cea3ee3a0b158a80b73 /src/H5HFsection.c
parentaab497a6312a9d8434a7dc7b5a593713fc8fbce0 (diff)
downloadhdf5-1903c4b1b0bd227b6713364792d241015b4edb5a.zip
hdf5-1903c4b1b0bd227b6713364792d241015b4edb5a.tar.gz
hdf5-1903c4b1b0bd227b6713364792d241015b4edb5a.tar.bz2
Fixed more warnings about extra semicolons (#3249)
* Require semi-colon after H5_CHECK_OVERFLOW calls Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/H5HFsection.c')
-rw-r--r--src/H5HFsection.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5HFsection.c b/src/H5HFsection.c
index b7e5910..5140ba0 100644
--- a/src/H5HFsection.c
+++ b/src/H5HFsection.c
@@ -840,7 +840,7 @@ H5HF__sect_single_can_merge(const H5FS_section_info_t *_sect1, const H5FS_sectio
* are actually within the same direct block)
*/
if (H5_addr_eq(sect1->sect_info.addr + sect1->sect_info.size, sect2->sect_info.addr))
- HGOTO_DONE(TRUE)
+ HGOTO_DONE(TRUE);
done:
FUNC_LEAVE_NOAPI(ret_value)
@@ -939,14 +939,14 @@ H5HF__sect_single_can_shrink(const H5FS_section_info_t *_sect, void *_udata)
dblock_size = hdr->man_dtable.cparam.start_block_size;
dblock_overhead = H5HF_MAN_ABS_DIRECT_OVERHEAD(hdr);
if ((dblock_size - dblock_overhead) == sect->sect_info.size)
- HGOTO_DONE(TRUE)
+ HGOTO_DONE(TRUE);
} /* end if */
else {
/* We shouldn't have a situation where the 'next block' iterator
* is moved before a direct block that still has objects within it.
*/
assert(hdr->man_iter_off > sect->sect_info.addr);
- HGOTO_DONE(FALSE)
+ HGOTO_DONE(FALSE);
} /* end else */
done:
@@ -1645,7 +1645,7 @@ H5HF__sect_row_can_merge(const H5FS_section_info_t *_sect1, const H5FS_section_i
/* Check if second section adjoins first section */
if (H5_addr_eq((top_indir_sect1->sect_info.addr + top_indir_sect1->u.indirect.span_size),
top_indir_sect2->sect_info.addr))
- HGOTO_DONE(TRUE)
+ HGOTO_DONE(TRUE);
done:
FUNC_LEAVE_NOAPI(ret_value)
@@ -1732,7 +1732,7 @@ H5HF__sect_row_can_shrink(const H5FS_section_info_t *_sect, void H5_ATTR_UNUSED
/* Check if section is past end of "next block" iterator */
if (sect->sect_info.addr >= hdr->man_iter_off)
- HGOTO_DONE(TRUE)
+ HGOTO_DONE(TRUE);
done:
FUNC_LEAVE_NOAPI(ret_value)