summaryrefslogtreecommitdiffstats
path: root/src/H5Iint.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/H5Iint.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/H5Iint.c')
-rw-r--r--src/H5Iint.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5Iint.c b/src/H5Iint.c
index 91ee4e8..abc351d 100644
--- a/src/H5Iint.c
+++ b/src/H5Iint.c
@@ -1591,10 +1591,10 @@ H5I__find_id(hid_t id)
/* Check arguments */
type = H5I_TYPE(id);
if (type <= H5I_BADID || (int)type >= H5I_next_type_g)
- HGOTO_DONE(NULL)
+ HGOTO_DONE(NULL);
type_info = H5I_type_info_array_g[type];
if (!type_info || type_info->init_count <= 0)
- HGOTO_DONE(NULL)
+ HGOTO_DONE(NULL);
/* Check for same ID as we have looked up last time */
if (type_info->last_id_info && type_info->last_id_info->id == id)
@@ -1615,13 +1615,13 @@ H5I__find_id(hid_t id)
/* Invoke the realize callback, to get the actual object */
if ((id_info->realize_cb)((void *)id_info->object, &actual_id) < 0)
- HGOTO_DONE(NULL)
+ HGOTO_DONE(NULL);
/* Verify that we received a valid ID, of the same type */
if (H5I_INVALID_HID == actual_id)
- HGOTO_DONE(NULL)
+ HGOTO_DONE(NULL);
if (H5I_TYPE(id) != H5I_TYPE(actual_id))
- HGOTO_DONE(NULL)
+ HGOTO_DONE(NULL);
/* Swap the actual object in for the future object */
future_object = (void *)id_info->object;
@@ -1631,7 +1631,7 @@ H5I__find_id(hid_t id)
/* Discard the future object */
if ((id_info->discard_cb)(future_object) < 0)
- HGOTO_DONE(NULL)
+ HGOTO_DONE(NULL);
future_object = NULL;
/* Change the ID from 'future' to 'actual' */