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/H5FDros3.c | |
parent | 20c328e2d578570c5123fe222b41eb8a85814673 (diff) | |
download | hdf5-0ca65235b7476e1a09f371afaa1407d127da29fe.zip hdf5-0ca65235b7476e1a09f371afaa1407d127da29fe.tar.gz hdf5-0ca65235b7476e1a09f371afaa1407d127da29fe.tar.bz2 |
Committing clang-format changes
Diffstat (limited to 'src/H5FDros3.c')
-rw-r--r-- | src/H5FDros3.c | 5 |
1 files changed, 2 insertions, 3 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") } |