diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-07-29 13:36:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-29 13:36:40 (GMT) |
commit | 40fc2cca16cd562954d3b724fa56badb3b9da72b (patch) | |
tree | 536b4bb51328af98ead7dfa1951f36b47f9b752a /examples/h5_attribute.c | |
parent | c63dfb0fd3345ecb33014612f94d3959f147be03 (diff) | |
download | hdf5-40fc2cca16cd562954d3b724fa56badb3b9da72b.zip hdf5-40fc2cca16cd562954d3b724fa56badb3b9da72b.tar.gz hdf5-40fc2cca16cd562954d3b724fa56badb3b9da72b.tar.bz2 |
1.10 clang 13 format #1933 (#1940)
* clang 13 format #1933
* Correct workflow
Diffstat (limited to 'examples/h5_attribute.c')
-rw-r--r-- | examples/h5_attribute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5_attribute.c b/examples/h5_attribute.c index 68653d4..d2d7af1 100644 --- a/examples/h5_attribute.c +++ b/examples/h5_attribute.c @@ -192,7 +192,7 @@ main(void) ret = H5Oget_info2(dataset, &oinfo, H5O_INFO_ALL); for (i = 0; i < (unsigned)oinfo.num_attrs; i++) { attr = H5Aopen_by_idx(dataset, ".", H5_INDEX_CRT_ORDER, H5_ITER_INC, (hsize_t)i, H5P_DEFAULT, - H5P_DEFAULT); + H5P_DEFAULT); atype = H5Aget_type(attr); type_class = H5Tget_class(atype); if (type_class == H5T_STRING) { @@ -232,7 +232,7 @@ attr_info(hid_t loc_id, const char *name, const H5A_info_t *ainfo, void *opdata) herr_t ret; int i; size_t npoints; /* Number of elements in the array attribute. */ - float * float_array; /* Pointer to the array attribute. */ + float *float_array; /* Pointer to the array attribute. */ /* avoid warnings */ (void)opdata; |