mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
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
This commit is contained in:
+2
-2
@@ -239,14 +239,14 @@ test_array_funcs(void)
|
||||
{
|
||||
cset = H5Tget_cset(type);
|
||||
}
|
||||
H5E_END_TRY;
|
||||
H5E_END_TRY
|
||||
VERIFY(cset, FAIL, "H5Tget_cset");
|
||||
|
||||
H5E_BEGIN_TRY
|
||||
{
|
||||
strpad = H5Tget_strpad(type);
|
||||
}
|
||||
H5E_END_TRY;
|
||||
H5E_END_TRY
|
||||
VERIFY(strpad, FAIL, "H5Tget_strpad");
|
||||
|
||||
/* Close datatype */
|
||||
|
||||
Reference in New Issue
Block a user