diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-08-07 21:24:29 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-08-07 21:24:29 (GMT) |
commit | d17d42acd0fbba4b3433937f448c99930553b038 (patch) | |
tree | a6535d4c7f313315ad6e326ded953cdaf6df1ce9 /src/H5HFsection.c | |
parent | 4f289e5b9240807d9fa5561fd793981334a9f086 (diff) | |
download | hdf5-d17d42acd0fbba4b3433937f448c99930553b038.zip hdf5-d17d42acd0fbba4b3433937f448c99930553b038.tar.gz hdf5-d17d42acd0fbba4b3433937f448c99930553b038.tar.bz2 |
[svn-r12552] Description:
More tweaks on fractal heap statistics, to better separate information
about managed objects from information about "huge" objects.
Also, clean up some compiler warnings, etc. on 64-bit platforms & Windows.
Platforms tested:
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago)
Diffstat (limited to 'src/H5HFsection.c')
-rw-r--r-- | src/H5HFsection.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5HFsection.c b/src/H5HFsection.c index ae91be3..8550a47 100644 --- a/src/H5HFsection.c +++ b/src/H5HFsection.c @@ -803,7 +803,7 @@ done: */ static H5FS_section_info_t * H5HF_sect_single_deserialize(const H5FS_section_class_t UNUSED *cls, - hid_t UNUSED dxpl_id, const uint8_t *buf, haddr_t sect_addr, + hid_t UNUSED dxpl_id, const uint8_t UNUSED *buf, haddr_t sect_addr, hsize_t sect_size, unsigned UNUSED *des_flags) { H5HF_free_section_t *new_sect; /* New section */ @@ -812,7 +812,6 @@ H5HF_sect_single_deserialize(const H5FS_section_class_t UNUSED *cls, FUNC_ENTER_NOAPI_NOINIT(H5HF_sect_single_deserialize) /* Check arguments. */ - HDassert(buf); HDassert(H5F_addr_defined(sect_addr)); HDassert(sect_size); @@ -1102,6 +1101,7 @@ H5HF_sect_single_free(H5FS_section_info_t *_sect) FUNC_ENTER_NOAPI_NOINIT(H5HF_sect_single_free) + /* Check arguments. */ HDassert(sect); /* Check for live reference to an indirect block */ @@ -1134,13 +1134,13 @@ done: *------------------------------------------------------------------------- */ static herr_t -H5HF_sect_single_valid(const H5FS_section_class_t *cls, const H5FS_section_info_t *_sect) +H5HF_sect_single_valid(const H5FS_section_class_t UNUSED *cls, const H5FS_section_info_t *_sect) { const H5HF_free_section_t *sect = (const H5HF_free_section_t *)_sect; /* Pointer to section to check */ FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5HF_sect_single_valid) - HDassert(cls); + /* Check arguments. */ HDassert(sect); #ifdef QAK |