diff options
author | github-actions <41898282+github-actions[bot]@users.noreply.github.com> | 2021-05-03 22:02:43 (GMT) |
---|---|---|
committer | github-actions <41898282+github-actions[bot]@users.noreply.github.com> | 2021-05-03 22:02:43 (GMT) |
commit | 0ca65235b7476e1a09f371afaa1407d127da29fe (patch) | |
tree | 3e9628ea03e6c5c95e38b6f507a3cd8ef9e4ea2e /src | |
parent | 20c328e2d578570c5123fe222b41eb8a85814673 (diff) | |
download | hdf5-0ca65235b7476e1a09f371afaa1407d127da29fe.zip hdf5-0ca65235b7476e1a09f371afaa1407d127da29fe.tar.gz hdf5-0ca65235b7476e1a09f371afaa1407d127da29fe.tar.bz2 |
Committing clang-format changes
Diffstat (limited to 'src')
-rw-r--r-- | src/H5FDros3.c | 5 | ||||
-rw-r--r-- | src/H5trace.c | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/H5FDros3.c b/src/H5FDros3.c index 5153c34..a241180 100644 --- a/src/H5FDros3.c +++ b/src/H5FDros3.c @@ -1539,7 +1539,7 @@ done: */ static herr_t H5FD_ros3_read(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_UNUSED dxpl_id, haddr_t addr, - size_t size, void *buf) + size_t size, void *buf) { H5FD_ros3_t *file = (H5FD_ros3_t *)_file; size_t filesize = 0; @@ -1562,8 +1562,7 @@ H5FD_ros3_read(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_UNUS filesize = H5FD_s3comms_s3r_get_filesize(file->s3r_handle); - if ((addr > filesize) || ((addr + size) > filesize)) -{ + if ((addr > filesize) || ((addr + size) > filesize)) { HGOTO_ERROR(H5E_ARGS, H5E_OVERFLOW, FAIL, "range exceeds file address") } diff --git a/src/H5trace.c b/src/H5trace.c index 85195c5..6a570b6 100644 --- a/src/H5trace.c +++ b/src/H5trace.c @@ -25,7 +25,7 @@ /****************/ /* Module Setup */ /****************/ -#define H5I_FRIEND /*suppress error about including H5Ipkg */ +#define H5I_FRIEND /*suppress error about including H5Ipkg */ /***********/ /* Headers */ |