diff options
author | Sean McBride <sean@rogue-research.com> | 2021-03-09 16:59:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-09 16:59:44 (GMT) |
commit | c41a1cb2094ae0cc5fb40671181ce4e9f73ba9dc (patch) | |
tree | e46cf36de718f68f5bd4bc224c846e1d22b64843 /test/vfd.c | |
parent | 5f376ccb3e8d242329a431b89bb4103500b1ad38 (diff) | |
download | hdf5-c41a1cb2094ae0cc5fb40671181ce4e9f73ba9dc.zip hdf5-c41a1cb2094ae0cc5fb40671181ce4e9f73ba9dc.tar.gz hdf5-c41a1cb2094ae0cc5fb40671181ce4e9f73ba9dc.tar.bz2 |
Applied clang-tidy readability-non-const-parameter warning fixes auto… (#429)
* Automatically applied clang-tidy readability-avoid-const-params-in-decls fixes
Removes useless const declarations.
* Fixed most readability-non-const-parameter warnings
These changes were made automatically by clang-tidy, but I manually reverted the changes related to the H5Z_func_t signature.
* Reformat source with clang v10.0.1.
Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
Diffstat (limited to 'test/vfd.c')
-rw-r--r-- | test/vfd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -99,7 +99,7 @@ static int splitter_create_single_file_at(const char *filename, hid_t fapl_id, const struct splitter_dataset_def *data); static int splitter_compare_expected_data(hid_t file_id, const struct splitter_dataset_def *data); static int run_splitter_test(const struct splitter_dataset_def *data, hbool_t ignore_wo_errors, - hbool_t provide_logfile_path, hid_t sub_fapl_ids[2]); + hbool_t provide_logfile_path, const hid_t sub_fapl_ids[2]); static int splitter_RO_test(const struct splitter_dataset_def *data, hid_t child_fapl_id); static int splitter_tentative_open_test(hid_t child_fapl_id); static int file_exists(const char *filename, hid_t fapl_id); @@ -2336,7 +2336,7 @@ done: */ static int run_splitter_test(const struct splitter_dataset_def *data, hbool_t ignore_wo_errors, - hbool_t provide_logfile_path, hid_t sub_fapl_ids[2]) + hbool_t provide_logfile_path, const hid_t sub_fapl_ids[2]) { hid_t file_id = H5I_INVALID_HID; hid_t fapl_id = H5I_INVALID_HID; |