summaryrefslogtreecommitdiffstats
path: root/src/H5PB.c
diff options
context:
space:
mode:
authormainzer <mainzer#hdfgroup.org>2017-03-17 09:36:05 (GMT)
committermainzer <mainzer#hdfgroup.org>2017-03-17 09:36:05 (GMT)
commitb7c58f7dfca66d4caa26d7f8b318ad3514b8c46f (patch)
treec9b012bcb318457a687c2c1f3cbe5be6242215aa /src/H5PB.c
parent9764970d2682352060d4a8febc42b3c06286c2b6 (diff)
downloadhdf5-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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5PB.c b/src/H5PB.c
index ad61657..575903d 100644
--- a/src/H5PB.c
+++ b/src/H5PB.c
@@ -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 */