diff options
author | Sean McBride <sean@rogue-research.com> | 2023-08-02 22:46:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-02 22:46:26 (GMT) |
commit | 07df0d252cc72fde5ead0abad12e23c8b522c2ee (patch) | |
tree | 4e2bea9eb00f7f97fa8d22bac6c38f37a9576b26 /test/select_io_dset.c | |
parent | 86ddedf522aa8a72cfe03b9275ae16800d1fb5b9 (diff) | |
download | hdf5-07df0d252cc72fde5ead0abad12e23c8b522c2ee.zip hdf5-07df0d252cc72fde5ead0abad12e23c8b522c2ee.tar.gz hdf5-07df0d252cc72fde5ead0abad12e23c8b522c2ee.tar.bz2 |
Fixes the last of the -Wextra-semi-stmt warnings (#3326)
* Fixed extra semi warning by adjusting alternative macro definitions
* Find-replace H5E_END_TRY; -> H5E_END_TRY
* Made H5Epush_goto a do-while loop, fixed indentation
* Made GOTOERROR and ERRMSG do-while loops
* Made Hgoto_error and Hgoto_done do-while loops
* Made vrfy_cint_type and vrfy_ctype do-while loops
* Made TEST_TYPE_CONTIG and others do-while loops
* Removed extraneous semi-colons
* Committing clang-format changes
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'test/select_io_dset.c')
-rw-r--r-- | test/select_io_dset.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/select_io_dset.c b/test/select_io_dset.c index 2746bcc..b498458 100644 --- a/test/select_io_dset.c +++ b/test/select_io_dset.c @@ -239,7 +239,7 @@ error: H5Pclose(dxpl); H5Pclose(ntrans_dxpl); } - H5E_END_TRY; + H5E_END_TRY return FAIL; @@ -379,7 +379,7 @@ error: H5Pclose(dcpl); H5Pclose(dxpl); } - H5E_END_TRY; + H5E_END_TRY if (wbuf) free(wbuf); @@ -529,7 +529,7 @@ error: H5Pclose(dxpl); H5Pclose(ntrans_dxpl); } - H5E_END_TRY; + H5E_END_TRY return FAIL; @@ -672,7 +672,7 @@ error: H5Pclose(dxpl); H5Pclose(ntrans_dxpl); } - H5E_END_TRY; + H5E_END_TRY return FAIL; @@ -989,7 +989,7 @@ error: H5Pclose(dcpl); H5Pclose(dxpl); } - H5E_END_TRY; + H5E_END_TRY if (s1_wbuf) free(s1_wbuf); @@ -1288,7 +1288,7 @@ error: H5Sclose(mem_sids[i]); H5Dclose(dset_dids[i]); } - H5E_END_TRY; + H5E_END_TRY if (total_wbuf) free(total_wbuf); @@ -1758,7 +1758,7 @@ error: H5Sclose(mem_sids[i]); H5Dclose(dset_dids[i]); } - H5E_END_TRY; + H5E_END_TRY if (total_wbuf) free(total_wbuf); @@ -2114,7 +2114,7 @@ error: H5Sclose(mem_sids[i]); H5Dclose(dset_dids[i]); } - H5E_END_TRY; + H5E_END_TRY if (total_wbuf) free(total_wbuf); @@ -2686,7 +2686,7 @@ error: H5Sclose(mem_sids[i]); H5Dclose(dset_dids[i]); } - H5E_END_TRY; + H5E_END_TRY if (total_wbuf1) free(total_wbuf1); @@ -2824,7 +2824,7 @@ error: H5Pclose(dcpl); H5Pclose(dxpl); } - H5E_END_TRY; + H5E_END_TRY return FAIL; } /* test_set_get_select_io_mode() */ @@ -3051,7 +3051,7 @@ error: H5Dclose(sid); H5Fclose(fid); } - H5E_END_TRY; + H5E_END_TRY return FAIL; } /* test_no_selection_io_cause_mode() */ |