summaryrefslogtreecommitdiffstats
path: root/src/H5S.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/H5S.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/H5S.c')
-rw-r--r--src/H5S.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5S.c b/src/H5S.c
index 6174e74..7d9c9ab 100644
--- a/src/H5S.c
+++ b/src/H5S.c
@@ -1862,11 +1862,11 @@ H5S_extent_equal(const H5S_t *ds1, const H5S_t *ds2)
/* Make certain the dataspaces are the same type */
if (ds1->extent.type != ds2->extent.type)
- HGOTO_DONE(FALSE)
+ HGOTO_DONE(FALSE);
/* Make certain the dataspaces are the same rank */
if (ds1->extent.rank != ds2->extent.rank)
- HGOTO_DONE(FALSE)
+ HGOTO_DONE(FALSE);
/* Make certain the dataspaces' current dimensions are the same size */
if (ds1->extent.rank > 0) {
@@ -1874,7 +1874,7 @@ H5S_extent_equal(const H5S_t *ds1, const H5S_t *ds2)
assert(ds2->extent.size);
for (u = 0; u < ds1->extent.rank; u++)
if (ds1->extent.size[u] != ds2->extent.size[u])
- HGOTO_DONE(FALSE)
+ HGOTO_DONE(FALSE);
} /* end if */
/* Make certain the dataspaces' maximum dimensions are the same size */
@@ -1883,11 +1883,11 @@ H5S_extent_equal(const H5S_t *ds1, const H5S_t *ds2)
if (ds1->extent.max != NULL && ds2->extent.max != NULL) {
for (u = 0; u < ds1->extent.rank; u++)
if (ds1->extent.max[u] != ds2->extent.max[u])
- HGOTO_DONE(FALSE)
+ HGOTO_DONE(FALSE);
} /* end if */
else if ((ds1->extent.max == NULL && ds2->extent.max != NULL) ||
(ds1->extent.max != NULL && ds2->extent.max == NULL))
- HGOTO_DONE(FALSE)
+ HGOTO_DONE(FALSE);
} /* end if */
done: