diff options
author | mainzer <mainzer#hdfgroup.org> | 2017-03-17 09:36:05 (GMT) |
---|---|---|
committer | mainzer <mainzer#hdfgroup.org> | 2017-03-17 09:36:05 (GMT) |
commit | b7c58f7dfca66d4caa26d7f8b318ad3514b8c46f (patch) | |
tree | c9b012bcb318457a687c2c1f3cbe5be6242215aa /src/H5PB.c | |
parent | 9764970d2682352060d4a8febc42b3c06286c2b6 (diff) | |
download | hdf5-b7c58f7dfca66d4caa26d7f8b318ad3514b8c46f.zip hdf5-b7c58f7dfca66d4caa26d7f8b318ad3514b8c46f.tar.gz hdf5-b7c58f7dfca66d4caa26d7f8b318ad3514b8c46f.tar.bz2 |
Minor code changes to address comments in pull request
Diffstat (limited to 'src/H5PB.c')
-rw-r--r-- | src/H5PB.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -477,13 +477,16 @@ H5PB__dest_cb(void *item, void H5_ATTR_UNUSED *key, void *_op_data) *------------------------------------------------------------------------- */ herr_t -H5PB_dest(H5F_t *f, const H5F_io_info2_t *fio_info) +H5PB_dest(const H5F_io_info2_t *fio_info) { herr_t ret_value = SUCCEED; /* Return value */ + H5F_t *f; /* file pointer */ FUNC_ENTER_NOAPI(FAIL) /* Sanity checks */ + HDassert(fio_info); + f = fio_info->f; HDassert(f); /* flush and destroy the page buffer, if it exists */ |