diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-12-08 18:34:51 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-12-08 18:34:51 (GMT) |
commit | 88c15b1617872ce1672d7333481a5aa32ee23d5a (patch) | |
tree | b3315150ab77826194626d3cd5cf6481badf83e4 /src/H5BP.c | |
parent | bfa65eed0f4f901c14244728ea364966c51e0417 (diff) | |
download | hdf5-88c15b1617872ce1672d7333481a5aa32ee23d5a.zip hdf5-88c15b1617872ce1672d7333481a5aa32ee23d5a.tar.gz hdf5-88c15b1617872ce1672d7333481a5aa32ee23d5a.tar.bz2 |
[svn-r11771] Purpose:
Code cleanup
Description:
Fix a bunch of warnings flagged by Windows compilers.
Platforms tested:
FreeBSD 4.11 (sleipnir)
Too minor to require h5committest
Diffstat (limited to 'src/H5BP.c')
-rw-r--r-- | src/H5BP.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |