summaryrefslogtreecommitdiffstats
path: root/src/H5BP.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5BP.c')
-rw-r--r--src/H5BP.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5BP.c b/src/H5BP.c
index 758d1d6..e01ab28 100644
--- a/src/H5BP.c
+++ b/src/H5BP.c
@@ -280,7 +280,7 @@ H5BP_create_leaf(H5F_t *f, hid_t dxpl_id, H5RC_t *bpt_shared, H5BP_node_ptr_t *n
/* Create record pool for leaf node */
if((leaf->rec_pool = H5MP_create(H5BP_LEAF_POOL_PAGE, H5MP_FLG_DEFAULT)) == NULL)
- HGOTO_ERROR(H5E_BTREE, H5E_NOSPACE, NULL, "can't allocate memory pool")
+ HGOTO_ERROR(H5E_BTREE, H5E_NOSPACE, FAIL, "can't allocate memory pool")
/* Set number of records */
leaf->nrec=0;
@@ -323,8 +323,10 @@ H5BP_insert_leaf(H5F_t *f, hid_t dxpl_id, H5RC_t *bpt_shared,
{
H5BP_leaf_t *leaf; /* Pointer to leaf node */
H5BP_shared_t *shared; /* Pointer to B+ tree's shared information */
+#ifdef LATER
int cmp; /* Comparison value of records */
unsigned idx; /* Location of record which matches key */
+#endif /* LATER */
herr_t ret_value = SUCCEED;
FUNC_ENTER_NOAPI_NOINIT(H5BP_insert_leaf)