summaryrefslogtreecommitdiffstats
path: root/test/h5test.c
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2021-03-05 14:51:01 (GMT)
committerGitHub <noreply@github.com>2021-03-05 14:51:01 (GMT)
commit6794428d232236e1c4605e8ca0face915f01286b (patch)
tree0d5d5133bbb372ec53710649379e2de5c734d40f /test/h5test.c
parentf4e87791e1543d672dba07f7211cc01509b940b6 (diff)
downloadhdf5-6794428d232236e1c4605e8ca0face915f01286b.zip
hdf5-6794428d232236e1c4605e8ca0face915f01286b.tar.gz
hdf5-6794428d232236e1c4605e8ca0face915f01286b.tar.bz2
Fixed clang-tidy readability-redundant-control-flow warnings (#428)
* Fixed clang-tidy readability-redundant-control-flow warnings Just removed useless trailing return statements. * Removed blank lines from h5diffgentest.c with clang-format v10.0.1. Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
Diffstat (limited to 'test/h5test.c')
-rw-r--r--test/h5test.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/h5test.c b/test/h5test.c
index 49df75ef..6526c94 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -171,8 +171,6 @@ h5_clean_files(const char *base_name[], hid_t fapl)
/* Close the FAPL used to access the file */
H5Pclose(fapl);
-
- return;
} /* end h5_clean_files() */
/*-------------------------------------------------------------------------
@@ -249,7 +247,6 @@ h5_delete_test_file(const char *base_name, hid_t fapl)
HDremove(filename);
} /* end driver selection tree */
- return;
} /* end h5_delete_test_file() */
H5_GCC_DIAG_ON("format-nonliteral")
@@ -282,7 +279,6 @@ h5_delete_all_test_files(const char *base_name[], hid_t fapl)
h5_delete_test_file(base_name[i], fapl);
} /* end for */
- return;
} /* end h5_delete_all_test_files() */
/*-------------------------------------------------------------------------
@@ -341,8 +337,6 @@ h5_test_shutdown(void)
/* Restore the original error reporting routine */
h5_restore_err();
-
- return;
} /* end h5_test_shutdown() */
/*-------------------------------------------------------------------------
@@ -449,8 +443,6 @@ h5_test_init(void)
HDassert(err_func == NULL);
H5Eget_auto2(H5E_DEFAULT, &err_func, NULL);
H5Eset_auto2(H5E_DEFAULT, h5_errors, NULL);
-
- return;
} /* end h5_test_init() */
/*-------------------------------------------------------------------------