summaryrefslogtreecommitdiffstats
path: root/test/tmisc.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/tmisc.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/tmisc.c')
-rw-r--r--test/tmisc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/tmisc.c b/test/tmisc.c
index 68fa06a..99cce68 100644
--- a/test/tmisc.c
+++ b/test/tmisc.c
@@ -517,7 +517,6 @@ test_misc2_write_attribute(void)
HDfree(string_att1);
HDfree(string_att2);
- return;
}
static void
@@ -563,8 +562,6 @@ test_misc2_read_attribute(const char *filename, const char *att_name)
ret = H5Fclose(file);
CHECK(ret, FAIL, "H5Fclose");
-
- return;
}
/****************************************************************
**