summaryrefslogtreecommitdiffstats
path: root/src/H5FSsection.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/H5FSsection.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/H5FSsection.c')
-rw-r--r--src/H5FSsection.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5FSsection.c b/src/H5FSsection.c
index fbe07ff..b3ddab2 100644
--- a/src/H5FSsection.c
+++ b/src/H5FSsection.c
@@ -1536,7 +1536,7 @@ H5FS_sect_try_merge(H5F_t *f, H5FS_t *fspace, H5FS_section_info_t *sect, unsigne
/* Check if section is shrunk and/or merged away completely */
if (!sect) {
sinfo_modified = TRUE;
- HGOTO_DONE(TRUE)
+ HGOTO_DONE(TRUE);
} /* end if */
else {
/* Check if section is merged */
@@ -1545,7 +1545,7 @@ H5FS_sect_try_merge(H5F_t *f, H5FS_t *fspace, H5FS_section_info_t *sect, unsigne
HGOTO_ERROR(H5E_FSPACE, H5E_CANTINSERT, FAIL,
"can't insert free space section into skip list")
sinfo_modified = TRUE;
- HGOTO_DONE(TRUE)
+ HGOTO_DONE(TRUE);
} /* end if */
} /* end else */
@@ -1621,7 +1621,7 @@ H5FS__sect_find_node(H5FS_t *fspace, hsize_t request, H5FS_section_info_t **node
HGOTO_ERROR(H5E_FSPACE, H5E_CANTFREE, FAIL,
"can't remove section from non-size tracking data structures")
/* Indicate that we found a node for the request */
- HGOTO_DONE(TRUE)
+ HGOTO_DONE(TRUE);
} /* end if */
} /* end if */
else { /* alignment is set */
@@ -1687,7 +1687,7 @@ H5FS__sect_find_node(H5FS_t *fspace, hsize_t request, H5FS_section_info_t **node
assert(request <= (*node)->size);
} /* end if */
/* Indicate that we found a node for the request */
- HGOTO_DONE(TRUE)
+ HGOTO_DONE(TRUE);
} /* end if */
/* Get the next section node in the list */