diff options
| author | David Young <dyoung@hdfgroup.org> | 2022-04-21 22:29:00 (GMT) |
|---|---|---|
| committer | David Young <dyoung@hdfgroup.org> | 2022-04-21 22:29:00 (GMT) |
| commit | 955e14ae75bfb5b7f3f0cb6767aee514e5b8ffad (patch) | |
| tree | a3bf909672a60d6c4a0a71a2a435d39d52da5820 | |
| parent | f8390a575e446faeb4f4270c4efdc272b1e3996a (diff) | |
| download | hdf5-955e14ae75bfb5b7f3f0cb6767aee514e5b8ffad.zip hdf5-955e14ae75bfb5b7f3f0cb6767aee514e5b8ffad.tar.gz hdf5-955e14ae75bfb5b7f3f0cb6767aee514e5b8ffad.tar.bz2 | |
Mention that no op codes are understood per review comment.
| -rw-r--r-- | src/H5FDsec2.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5FDsec2.c b/src/H5FDsec2.c index 6341400..f66fa63 100644 --- a/src/H5FDsec2.c +++ b/src/H5FDsec2.c @@ -1075,8 +1075,8 @@ 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 *_file, uint64_t H5_ATTR_UNUSED op_code, uint64_t flags, + const void H5_ATTR_UNUSED *input, void H5_ATTR_UNUSED **output) { herr_t ret_value = SUCCEED; @@ -1085,6 +1085,7 @@ H5FD__sec2_ctl(H5FD_t *_file, uint64_t op_code, uint64_t flags, const void H5_AT /* Sanity checks */ HDassert(_file); + /* No op codes are understood. */ if (flags & H5FD_CTL__FAIL_IF_UNKNOWN_FLAG) HGOTO_ERROR(H5E_VFL, H5E_FCNTL, FAIL, "unknown op_code and fail if unknown flag is set") |
