summaryrefslogtreecommitdiffstats
path: root/test/tsohm.c
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2023-06-16 04:49:02 (GMT)
committerGitHub <noreply@github.com>2023-06-16 04:49:02 (GMT)
commit68eba3da69e659fab69bbef5901ce42e82cea1dc (patch)
treef36805f798df6c04092c14dc6803d2cb82f6eff2 /test/tsohm.c
parent10093f7c4345061bdbebc12888debbf08fe85a5b (diff)
downloadhdf5-68eba3da69e659fab69bbef5901ce42e82cea1dc.zip
hdf5-68eba3da69e659fab69bbef5901ce42e82cea1dc.tar.gz
hdf5-68eba3da69e659fab69bbef5901ce42e82cea1dc.tar.bz2
Many clang -Wextra-semi-stmt fixes (#2537)
* Adds semicolons to function-like macros * Adds a do..while(0) loop to some macros * Removes semicolons when inappropriate, especially H5E_TRY_BEGIN/END
Diffstat (limited to 'test/tsohm.c')
-rw-r--r--test/tsohm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tsohm.c b/test/tsohm.c
index 7d9964f..9f2dd50 100644
--- a/test/tsohm.c
+++ b/test/tsohm.c
@@ -1344,7 +1344,7 @@ test_sohm_attrs(void)
ret = H5Pclose(fcpl_id);
CHECK_I(ret, "H5Pclose");
}
- H5E_END_TRY;
+ H5E_END_TRY
/* three shared message indices
*/
@@ -2157,9 +2157,9 @@ test_sohm_size2(int close_reopen)
herr_t ret;
if (close_reopen == 0)
- MESSAGE(5, ("Testing that shared object header messages save space\n"))
+ MESSAGE(5, ("Testing that shared object header messages save space\n"));
else
- MESSAGE(5, ("Testing that shared messages save space when file is closed and reopened\n"))
+ MESSAGE(5, ("Testing that shared messages save space when file is closed and reopened\n"));
/* Create an fcpl with SOHMs disabled */
fcpl_id = H5Pcreate(H5P_FILE_CREATE);