summaryrefslogtreecommitdiffstats
path: root/src
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 /src
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 'src')
-rw-r--r--src/H5.c3
-rw-r--r--src/H5C.c3
-rw-r--r--src/H5Cdbg.c2
3 files changed, 0 insertions, 8 deletions
diff --git a/src/H5.c b/src/H5.c
index 16adbe0..b7c6eb5 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -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
diff --git a/src/H5C.c b/src/H5C.c
index 9369506..551a2b2 100644
--- a/src/H5C.c
+++ b/src/H5C.c
@@ -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() */
/*-------------------------------------------------------------------------