diff options
author | github-actions <41898282+github-actions[bot]@users.noreply.github.com> | 2022-04-07 04:53:17 (GMT) |
---|---|---|
committer | github-actions <41898282+github-actions[bot]@users.noreply.github.com> | 2022-04-07 04:53:17 (GMT) |
commit | 65348454e24fdd8e5656bd3680edd7a3c1273706 (patch) | |
tree | ff330da7a2e1821a54887adbbdf6eb655718f555 | |
parent | 91a5eb2cd9fef54b13402e2a11e10ce98f8a3d1f (diff) | |
download | hdf5-65348454e24fdd8e5656bd3680edd7a3c1273706.zip hdf5-65348454e24fdd8e5656bd3680edd7a3c1273706.tar.gz hdf5-65348454e24fdd8e5656bd3680edd7a3c1273706.tar.bz2 |
Committing clang-format changes
-rw-r--r-- | src/H5Oattribute.c | 2 | ||||
-rw-r--r-- | src/H5Stest.c | 6 | ||||
-rw-r--r-- | test/s3comms.c | 4 |
3 files changed, 7 insertions, 5 deletions
diff --git a/src/H5Oattribute.c b/src/H5Oattribute.c index 371bbbc..5a0c606 100644 --- a/src/H5Oattribute.c +++ b/src/H5Oattribute.c @@ -239,7 +239,7 @@ H5O__attr_create(const H5O_loc_t *loc, H5A_t *attr) /* Check if switching to "dense" attribute storage is possible */ if (!H5F_addr_defined(ainfo.fheap_addr)) { - htri_t shareable; /* Whether the attribute will be shared */ + htri_t shareable; /* Whether the attribute will be shared */ size_t raw_size = 0; /* Raw size of message */ /* Check for attribute being shareable */ diff --git a/src/H5Stest.c b/src/H5Stest.c index 2782086..6a31f3c 100644 --- a/src/H5Stest.c +++ b/src/H5Stest.c @@ -190,7 +190,8 @@ H5S__check_spans_tail_ptr(const H5S_hyper_span_info_t *span_lst) cur_elem = cur_elem->next; } /* end while */ if (actual_tail != span_lst->tail) - HGOTO_ERROR(H5E_DATASPACE, H5E_INCONSISTENTSTATE, FAIL, "the selection has inconsistent tail pointers") + HGOTO_ERROR(H5E_DATASPACE, H5E_INCONSISTENTSTATE, FAIL, + "the selection has inconsistent tail pointers") done: FUNC_LEAVE_NOAPI(ret_value) @@ -231,7 +232,8 @@ H5S__check_points_tail_ptr(const H5S_pnt_list_t *pnt_lst) cur_elem = cur_elem->next; } /* end while */ if (actual_tail != pnt_lst->tail) - HGOTO_ERROR(H5E_DATASPACE, H5E_INCONSISTENTSTATE, FAIL, "the selection has inconsistent tail pointers") + HGOTO_ERROR(H5E_DATASPACE, H5E_INCONSISTENTSTATE, FAIL, + "the selection has inconsistent tail pointers") done: FUNC_LEAVE_NOAPI(ret_value) diff --git a/test/s3comms.c b/test/s3comms.c index 03b8ce6..d69d855 100644 --- a/test/s3comms.c +++ b/test/s3comms.c @@ -1143,7 +1143,7 @@ test_hrb_node_set(void) *********/ for (mock_i = 0; test->given[mock_i] != NULL; mock_i += 2) { - const char *name = test->given[mock_i]; + const char *name = test->given[mock_i]; const char *value = test->given[mock_i + 1]; FAIL_IF(SUCCEED != H5FD_s3comms_hrb_node_set(&list, name, value)) @@ -1162,7 +1162,7 @@ test_hrb_node_set(void) node = list; mock_i = 0; while (test->expected[mock_i] != NULL && node != NULL) { - const char *name = test->expected[mock_i]; + const char *name = test->expected[mock_i]; const char *value = test->expected[mock_i + 1]; JSVERIFY_STR(name, node->name, NULL) |