summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions <41898282+github-actions[bot]@users.noreply.github.com>2022-06-08 06:08:34 (GMT)
committergithub-actions <41898282+github-actions[bot]@users.noreply.github.com>2022-06-08 06:08:34 (GMT)
commit3848c783b659db101ccc83665cbd80de7b445652 (patch)
tree053ea988c9962bc316e7c9c26b9dadbc4e211ac8
parent1c7f3aa4db669201a9b64cf9ddfa771c13c8839b (diff)
downloadhdf5-3848c783b659db101ccc83665cbd80de7b445652.zip
hdf5-3848c783b659db101ccc83665cbd80de7b445652.tar.gz
hdf5-3848c783b659db101ccc83665cbd80de7b445652.tar.bz2
Committing clang-format changes
-rw-r--r--test/vfd_swmr.c1
-rw-r--r--test/vfd_swmr_bigset_writer.c7
2 files changed, 3 insertions, 5 deletions
diff --git a/test/vfd_swmr.c b/test/vfd_swmr.c
index 279145c..1233314 100644
--- a/test/vfd_swmr.c
+++ b/test/vfd_swmr.c
@@ -5527,7 +5527,6 @@ test_vfds_same_file_opens(hid_t orig_fapl, const char *env_h5_drvr)
if (H5Pclose(fapl) < 0)
FAIL_STACK_ERROR;
-
/* Free buffers */
HDfree(config);
diff --git a/test/vfd_swmr_bigset_writer.c b/test/vfd_swmr_bigset_writer.c
index 4ee77d9..508fc3b 100644
--- a/test/vfd_swmr_bigset_writer.c
+++ b/test/vfd_swmr_bigset_writer.c
@@ -2011,8 +2011,8 @@ verify_extensible_dset(state_t *s, unsigned int which, mat_t *mat, unsigned fini
base_t base, last;
unsigned int nchunks, step, ofs;
int i;
- h5_retry_t retry;
- hbool_t do_try; /* more tries remain */
+ h5_retry_t retry;
+ hbool_t do_try; /* more tries remain */
if (which >= s->ndatasets) {
HDfprintf(stderr, "the dataset order is bigger than the number of datasets");
@@ -2022,8 +2022,7 @@ verify_extensible_dset(state_t *s, unsigned int which, mat_t *mat, unsigned fini
dset_id = s->dataset[which];
/* Probably can do the same things in other parts that use NUM_ATTEMPTS */
- for (do_try = H5_retry_init(&retry, NUM_ATTEMPTS, H5_RETRY_DEFAULT_MINIVAL,
- H5_RETRY_DEFAULT_MAXIVAL);
+ for (do_try = H5_retry_init(&retry, NUM_ATTEMPTS, H5_RETRY_DEFAULT_MINIVAL, H5_RETRY_DEFAULT_MAXIVAL);
do_try; do_try = H5_retry_next(&retry)) {
if (H5Drefresh(dset_id) < 0) {