summaryrefslogtreecommitdiffstats
path: root/src/H5Ostab.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-09-12 14:30:28 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-09-12 14:30:28 (GMT)
commit40695e4a6ea28e8aadd7eda758883bf6d91aaf05 (patch)
treea37a2b099e2408dc5b6a0ffc55f11cf6be2dd691 /src/H5Ostab.c
parent6e9ba2e13dea34945e461cd4acaacc50f46a8405 (diff)
downloadhdf5-40695e4a6ea28e8aadd7eda758883bf6d91aaf05.zip
hdf5-40695e4a6ea28e8aadd7eda758883bf6d91aaf05.tar.gz
hdf5-40695e4a6ea28e8aadd7eda758883bf6d91aaf05.tar.bz2
[svn-r11387] Purpose:
Code cleanup/reorganization Description: Merge back some more changes extracted from the "compact group" set. This bunch cleans up and prepares the H5G_* routines for eventual import of new features. Platforms tested: FreeBSD 4.11 (sleipnir) Linux 2.4 Mac OS X.4
Diffstat (limited to 'src/H5Ostab.c')
-rw-r--r--src/H5Ostab.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/H5Ostab.c b/src/H5Ostab.c
index 279b437..21391bd 100644
--- a/src/H5Ostab.c
+++ b/src/H5Ostab.c
@@ -317,19 +317,18 @@ H5O_stab_free (void *mesg)
*-------------------------------------------------------------------------
*/
static herr_t
-H5O_stab_delete(H5F_t *f, hid_t dxpl_id, const void *_mesg, hbool_t adj_link)
+H5O_stab_delete(H5F_t *f, hid_t dxpl_id, const void *mesg, hbool_t adj_link)
{
- const H5O_stab_t *stab = (const H5O_stab_t *) _mesg;
herr_t ret_value=SUCCEED; /* Return value */
FUNC_ENTER_NOAPI_NOINIT(H5O_stab_delete)
/* check args */
assert(f);
- assert(stab);
+ assert(mesg);
/* Free the file space for the symbol table */
- if (H5G_stab_delete(f, dxpl_id, stab->btree_addr, stab->heap_addr)<0)
+ if (H5G_stab_delete(f, dxpl_id, mesg, adj_link)<0)
HGOTO_ERROR(H5E_OHDR, H5E_CANTFREE, FAIL, "unable to free symbol table")
done: