diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-07-24 19:07:43 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-07-24 19:07:43 (GMT) |
commit | 05973a4e8610a7f6893d0eaed9c3eee3b008ba60 (patch) | |
tree | fbd503a5480e143e85b8d7283b0f96daf0377976 /src | |
parent | b8ef032be6b1273d7730eb3d6511413716700528 (diff) | |
download | hdf5-05973a4e8610a7f6893d0eaed9c3eee3b008ba60.zip hdf5-05973a4e8610a7f6893d0eaed9c3eee3b008ba60.tar.gz hdf5-05973a4e8610a7f6893d0eaed9c3eee3b008ba60.tar.bz2 |
[svn-r14003] Description:
Code cleanup & whitespace fixups
Tested on:
FreeBSD/32 6.2 (duty)
FreeBSD/64 6.2 (liberty)
Linux/32 2.6 (kagiso)
Mac OS X/32 10.4.10 (amazon)
Diffstat (limited to 'src')
-rwxr-xr-x | src/H5SM.c | 1 | ||||
-rw-r--r-- | src/H5Tconv.c | 14 |
2 files changed, 7 insertions, 8 deletions
@@ -1255,6 +1255,7 @@ H5SM_write_mesg(H5F_t *f, hid_t dxpl_id, H5O_t *open_oh, if(share_in_ohdr && open_oh) { /* Set up shared component info */ shared.type = H5O_SHARE_TYPE_HERE; + /* Retrieve any creation index from the native message */ if(H5O_msg_get_crt_index(type_id, mesg, &shared.u.loc.index) < 0) HGOTO_ERROR(H5E_SOHM, H5E_CANTGET, FAIL, "unable to retrieve creation index") diff --git a/src/H5Tconv.c b/src/H5Tconv.c index e0d878a..075cce8 100644 --- a/src/H5Tconv.c +++ b/src/H5Tconv.c @@ -1884,26 +1884,24 @@ done: * Programmer: Raymond Lu * 8 June 2007 * - * Modifications: *------------------------------------------------------------------------- */ H5T_subset_t H5T_conv_struct_subset(const H5T_cdata_t *cdata) { H5T_conv_struct_t *priv; - H5T_subset_t ret_value=FALSE; /* Return value */ + H5T_subset_t ret_value = FALSE; /* Return value */ - FUNC_ENTER_NOAPI_NOINIT(H5T_conv_struct_subset); + FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5T_conv_struct_subset) - assert(cdata); - assert(cdata->priv); + HDassert(cdata); + HDassert(cdata->priv); priv = (H5T_conv_struct_t*)(cdata->priv); ret_value = priv->smembs_subset; -done: - FUNC_LEAVE_NOAPI(ret_value); -} + FUNC_LEAVE_NOAPI(ret_value) +} /* end H5T_conv_struct_subset() */ /*------------------------------------------------------------------------- |