summaryrefslogtreecommitdiffstats
path: root/src/H5FDsec2.c
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2022-04-25 17:16:18 (GMT)
committerGitHub <noreply@github.com>2022-04-25 17:16:18 (GMT)
commit2b323159a7e6be0cfa7bd996de945e2d44fc721d (patch)
tree20d4ff81fbff743f04503178c303d7189c1f08e5 /src/H5FDsec2.c
parentc8b87fa3200228b8689f77d325646d6f77502cfa (diff)
downloadhdf5-2b323159a7e6be0cfa7bd996de945e2d44fc721d.zip
hdf5-2b323159a7e6be0cfa7bd996de945e2d44fc721d.tar.gz
hdf5-2b323159a7e6be0cfa7bd996de945e2d44fc721d.tar.bz2
Warnings fixes (#1680)
Diffstat (limited to 'src/H5FDsec2.c')
-rw-r--r--src/H5FDsec2.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/H5FDsec2.c b/src/H5FDsec2.c
index 01c1179..aabee0f 100644
--- a/src/H5FDsec2.c
+++ b/src/H5FDsec2.c
@@ -1075,17 +1075,13 @@ done:
*-------------------------------------------------------------------------
*/
static herr_t
-H5FD__sec2_ctl(H5FD_t *_file, uint64_t op_code, uint64_t flags, const void H5_ATTR_UNUSED *input,
- void H5_ATTR_UNUSED **output)
+H5FD__sec2_ctl(H5FD_t H5_ATTR_UNUSED *_file, uint64_t op_code, uint64_t flags,
+ const void H5_ATTR_UNUSED *input, void H5_ATTR_UNUSED **output)
{
- H5FD_sec2_t *file = (H5FD_sec2_t *)_file;
- herr_t ret_value = SUCCEED;
+ herr_t ret_value = SUCCEED;
FUNC_ENTER_PACKAGE
- /* Sanity checks */
- HDassert(file);
-
switch (op_code) {
/* Unknown op code */
default: