diff options
author | Sean McBride <sean@rogue-research.com> | 2021-03-05 14:51:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-05 14:51:01 (GMT) |
commit | 6794428d232236e1c4605e8ca0face915f01286b (patch) | |
tree | 0d5d5133bbb372ec53710649379e2de5c734d40f /src | |
parent | f4e87791e1543d672dba07f7211cc01509b940b6 (diff) | |
download | hdf5-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 'src')
-rw-r--r-- | src/H5.c | 3 | ||||
-rw-r--r-- | src/H5C.c | 3 | ||||
-rw-r--r-- | src/H5Cdbg.c | 2 |
3 files changed, 0 insertions, 8 deletions
@@ -807,9 +807,6 @@ H5__debug_mask(const char *s) s++; } /* end if-else */ } /* end while */ - - return; - } /* end H5__debug_mask() */ #ifdef H5_HAVE_PARALLEL @@ -689,9 +689,6 @@ H5C_def_auto_resize_rpt_fcn(H5C_t *cache_ptr, HDfprintf(stdout, "%sAuto cache resize -- unknown status code.\n", cache_ptr->prefix); break; } - - return; - } /* H5C_def_auto_resize_rpt_fcn() */ /*------------------------------------------------------------------------- diff --git a/src/H5Cdbg.c b/src/H5Cdbg.c index 478cc1d..e59012c 100644 --- a/src/H5Cdbg.c +++ b/src/H5Cdbg.c @@ -832,8 +832,6 @@ H5C_stats__reset(H5C_t H5_ATTR_UNUSED *cache_ptr) #endif /* H5C_COLLECT_CACHE_ENTRY_STATS */ #endif /* H5C_COLLECT_CACHE_STATS */ - - return; } /* H5C_stats__reset() */ /*------------------------------------------------------------------------- |