diff options
author | kmu <kmu@hdfgroup.org> | 2020-01-13 19:20:19 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2020-01-13 19:20:19 (GMT) |
commit | 9712fad601a7844dc01deb1dc4d81b5aa5402b5e (patch) | |
tree | a5020737164f843254a67695e4cae4586f568c3e /src/H5Gnode.c | |
parent | b0e5b2d9338bf352a4154a838c4146c84be8705b (diff) | |
download | hdf5-9712fad601a7844dc01deb1dc4d81b5aa5402b5e.zip hdf5-9712fad601a7844dc01deb1dc4d81b5aa5402b5e.tar.gz hdf5-9712fad601a7844dc01deb1dc4d81b5aa5402b5e.tar.bz2 |
fix unused related warnings
Diffstat (limited to 'src/H5Gnode.c')
-rw-r--r-- | src/H5Gnode.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/H5Gnode.c b/src/H5Gnode.c index b79b7d2..54769ca 100644 --- a/src/H5Gnode.c +++ b/src/H5Gnode.c @@ -762,12 +762,11 @@ done: *------------------------------------------------------------------------- */ static H5B_ins_t -H5G_node_remove(H5F_t *f, haddr_t addr, void *_lt_key/*in,out*/, +H5G_node_remove(H5F_t *f, haddr_t addr, void H5_ATTR_SANITY_CHECK *_lt_key/*in,out*/, hbool_t H5_ATTR_UNUSED *lt_key_changed/*out*/, void *_udata/*in,out*/, void *_rt_key/*in,out*/, hbool_t *rt_key_changed/*out*/) { - H5G_node_key_t *lt_key = (H5G_node_key_t *)_lt_key; H5G_node_key_t *rt_key = (H5G_node_key_t *)_rt_key; H5G_bt_rm_t *udata = (H5G_bt_rm_t *)_udata; H5G_node_t *sn = NULL; @@ -781,7 +780,7 @@ H5G_node_remove(H5F_t *f, haddr_t addr, void *_lt_key/*in,out*/, /* Check arguments */ HDassert(f); HDassert(H5F_addr_defined(addr)); - HDassert(lt_key); + HDassert((H5G_node_key_t *)_lt_key); HDassert(rt_key); HDassert(udata && udata->common.heap); |