summaryrefslogtreecommitdiffstats
path: root/tools/src/h5format_convert
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 /tools/src/h5format_convert
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 'tools/src/h5format_convert')
-rw-r--r--tools/src/h5format_convert/h5format_convert.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/src/h5format_convert/h5format_convert.c b/tools/src/h5format_convert/h5format_convert.c
index 200f735..82f91e7 100644
--- a/tools/src/h5format_convert/h5format_convert.c
+++ b/tools/src/h5format_convert/h5format_convert.c
@@ -162,7 +162,6 @@ parse_command_line(int argc, const char *const *argv)
error:
return -1;
- ;
} /* parse_command_line() */
/*-------------------------------------------------------------------------
@@ -334,7 +333,7 @@ error:
H5Pclose(dcpl);
H5Dclose(did);
}
- H5E_END_TRY;
+ H5E_END_TRY
return -1;
} /* convert() */