summaryrefslogtreecommitdiffstats
path: root/src/H5S.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-12-12 00:57:10 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-12-12 00:57:10 (GMT)
commitf98b337a92b4367695ee0da8f0082a79633139ac (patch)
tree955f0fca0d3a8c52ca103322aa66afa13cf1330a /src/H5S.c
parenta867b8f5fd7ddf31aa23c8814a30444abb8bf6cf (diff)
downloadhdf5-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.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/H5S.c b/src/H5S.c
index 6547281..a125717 100644
--- a/src/H5S.c
+++ b/src/H5S.c
@@ -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() */
/*-------------------------------------------------------------------------