diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-12-12 00:57:10 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-12-12 00:57:10 (GMT) |
commit | f98b337a92b4367695ee0da8f0082a79633139ac (patch) | |
tree | 955f0fca0d3a8c52ca103322aa66afa13cf1330a /src/H5S.c | |
parent | a867b8f5fd7ddf31aa23c8814a30444abb8bf6cf (diff) | |
download | hdf5-f98b337a92b4367695ee0da8f0082a79633139ac.zip hdf5-f98b337a92b4367695ee0da8f0082a79633139ac.tar.gz hdf5-f98b337a92b4367695ee0da8f0082a79633139ac.tar.bz2 |
[svn-r13046] Description:
Minor editing & code cleanups.
Tested on:
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5S.c')
-rw-r--r-- | src/H5S.c | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -435,18 +435,16 @@ done: * Programmer: Robb Matzke * Tuesday, December 9, 1997 * - * Modifications: - * *------------------------------------------------------------------------- */ herr_t H5S_close(H5S_t *ds) { - herr_t ret_value=SUCCEED; /* Return value */ + herr_t ret_value = SUCCEED; /* Return value */ - FUNC_ENTER_NOAPI(H5S_close, FAIL); + FUNC_ENTER_NOAPI(H5S_close, FAIL) - assert(ds); + HDassert(ds); /* Release selection (this should come before the extent release) */ H5S_SELECT_RELEASE(ds); @@ -455,11 +453,11 @@ H5S_close(H5S_t *ds) H5S_extent_release(&ds->extent); /* Release the main structure */ - H5FL_FREE(H5S_t,ds); + H5FL_FREE(H5S_t, ds); done: - FUNC_LEAVE_NOAPI(ret_value); -} + FUNC_LEAVE_NOAPI(ret_value) +} /* end H5S_close() */ /*------------------------------------------------------------------------- |