From f3e52c1a1b8961bb03dc07b5268c01108bb7b152 Mon Sep 17 00:00:00 2001 From: "vchoi-hdfgroup.org" Date: Mon, 12 Aug 2024 18:19:55 -0500 Subject: [PATCH] Correct spelling and CI failures. --- doxygen/examples/H5D_sparse_examples.c | 2 +- src/H5Pdcpl.c | 4 ++-- test/sparse_storage.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doxygen/examples/H5D_sparse_examples.c b/doxygen/examples/H5D_sparse_examples.c index 6969f62c7f3..9043b7facb7 100644 --- a/doxygen/examples/H5D_sparse_examples.c +++ b/doxygen/examples/H5D_sparse_examples.c @@ -517,7 +517,7 @@ fail_file:; goto fail_get_info; } - // Use the offset just retrieved to obtain structured chunk info by coordindates + // Use the offset just retrieved to obtain structured chunk info by coordinates if (H5Dget_struct_chunk_info_by_coord(did, offset, NULL, &addr, &chunk_size) < 0) { ret_val = EXIT_FAILURE; goto fail_get_info; diff --git a/src/H5Pdcpl.c b/src/H5Pdcpl.c index 932902c1ab2..e0c865242c0 100644 --- a/src/H5Pdcpl.c +++ b/src/H5Pdcpl.c @@ -3607,7 +3607,7 @@ H5Pset_dset_no_attrs_hint(hid_t dcpl_id, hbool_t minimize) *------------------------------------------------------------------------- */ herr_t -H5Pset_struct_chunk(hid_t plist_id, int ndims, const hsize_t dim[/*ndims*/], unsigned flag) +H5Pset_struct_chunk(hid_t plist_id, int ndims, const hsize_t dim[/*ndims*/], unsigned H5_ATTR_UNUSED flag) { H5P_genplist_t *plist; /* Property list pointer */ H5O_layout_t chunk_layout; /* Layout information for setting chunk info */ @@ -3637,7 +3637,7 @@ H5Pset_struct_chunk(hid_t plist_id, int ndims, const hsize_t dim[/*ndims*/], uns chunk_layout.u.chunk.dim[u] = (uint32_t)dim[u]; /* Store user's chunk dimensions */ } /* end for */ - /* TBD: should set fields u.struct_chunk e.g. struct_type */ + /* TBD: should set fields u.struct_chunk e.g. struct_type to parameter flag */ /* Get the plist structure */ if (NULL == (plist = H5P_object_verify(plist_id, H5P_DATASET_CREATE))) diff --git a/test/sparse_storage.c b/test/sparse_storage.c index 81b0149e030..52ca2badad1 100644 --- a/test/sparse_storage.c +++ b/test/sparse_storage.c @@ -289,7 +289,7 @@ test_sparse_direct_chunk(hid_t fapl) if (H5Sencode2(sid, wr_buf0, &encode_size, H5P_DEFAULT) < 0) FAIL_STACK_ERROR; - /* Set up data into the bufer for section 1 */ + /* Set up data into the buffer for section 1 */ wr_buf1[0] = 32; wr_buf1[1] = 33; wr_buf1[2] = 34;