summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5Af.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 /fortran/src/H5Af.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 'fortran/src/H5Af.c')
-rw-r--r--fortran/src/H5Af.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/fortran/src/H5Af.c b/fortran/src/H5Af.c
index ab4aa7a..9e27f87 100644
--- a/fortran/src/H5Af.c
+++ b/fortran/src/H5Af.c
@@ -220,14 +220,14 @@ h5adelete_by_idx_c(hid_t_f *loc_id, _fcd obj_name, size_t_f *obj_namelen, int_f
* Convert FORTRAN name to C name
*/
if (NULL == (c_obj_name = HD5f2cstring(obj_name, (size_t)*obj_namelen)))
- HGOTO_DONE(FAIL)
+ HGOTO_DONE(FAIL);
/*
* Call H5Adelete_by_name function.
*/
if (H5Adelete_by_idx((hid_t)*loc_id, c_obj_name, (H5_index_t)*idx_type, (H5_iter_order_t)*order,
(hsize_t)*n, (hid_t)*lapl_id) < 0)
- HGOTO_DONE(FAIL)
+ HGOTO_DONE(FAIL);
done:
if (c_obj_name)
@@ -289,14 +289,14 @@ h5aget_name_by_idx_c(hid_t_f *loc_id, _fcd obj_name, size_t_f *obj_namelen, int_
* Convert FORTRAN name to C name
*/
if (NULL == (c_obj_name = HD5f2cstring(obj_name, (size_t)*obj_namelen)))
- HGOTO_DONE(FAIL)
+ HGOTO_DONE(FAIL);
/*
* Allocate buffer to hold name of an attribute
*/
c_buf_size = (size_t)*size + 1;
if (NULL == (c_buf = (char *)malloc(c_buf_size)))
- HGOTO_DONE(FAIL)
+ HGOTO_DONE(FAIL);
/*
* Call H5Aget_name_by_idx function.
@@ -304,7 +304,7 @@ h5aget_name_by_idx_c(hid_t_f *loc_id, _fcd obj_name, size_t_f *obj_namelen, int_
c_size = H5Aget_name_by_idx((hid_t)*loc_id, c_obj_name, (H5_index_t)*idx_type, (H5_iter_order_t)*order,
(hsize_t)*n, c_buf, c_buf_size, (hid_t)*lapl_id);
if (c_size < 0)
- HGOTO_DONE(FAIL)
+ HGOTO_DONE(FAIL);
/*
* Convert C name to FORTRAN and place it in the given buffer
@@ -415,14 +415,14 @@ h5aget_info_by_idx_c(hid_t_f *loc_id, _fcd obj_name, size_t_f *obj_namelen, int_
* Convert FORTRAN name to C name
*/
if (NULL == (c_obj_name = HD5f2cstring(obj_name, (size_t)*obj_namelen)))
- HGOTO_DONE(FAIL)
+ HGOTO_DONE(FAIL);
/*
* Call H5Ainfo_by_idx function.
*/
if (H5Aget_info_by_idx((hid_t)*loc_id, c_obj_name, (H5_index_t)*idx_type, (H5_iter_order_t)*order,
(hsize_t)*n, &ainfo, (hid_t)*lapl_id) < 0)
- HGOTO_DONE(FAIL)
+ HGOTO_DONE(FAIL);
/* Unpack the structure */
*corder_valid = 0;
@@ -477,15 +477,15 @@ h5aget_info_by_name_c(hid_t_f *loc_id, _fcd obj_name, size_t_f *obj_namelen, _fc
* Convert FORTRAN name to C name
*/
if (NULL == (c_obj_name = HD5f2cstring(obj_name, (size_t)*obj_namelen)))
- HGOTO_DONE(FAIL)
+ HGOTO_DONE(FAIL);
if (NULL == (c_attr_name = HD5f2cstring(attr_name, (size_t)*attr_namelen)))
- HGOTO_DONE(FAIL)
+ HGOTO_DONE(FAIL);
/*
* Call H5Ainfo_by_name function.
*/
if (H5Aget_info_by_name((hid_t)*loc_id, c_obj_name, c_attr_name, &ainfo, (hid_t)*lapl_id) < 0)
- HGOTO_DONE(FAIL)
+ HGOTO_DONE(FAIL);
/* Unpack the structure */
*corder_valid = 0;