diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2008-09-10 19:10:41 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2008-09-10 19:10:41 (GMT) |
commit | c465e18a68f2a77550d93366a5b6c8fac2e24502 (patch) | |
tree | bd3649f75f1507040b68d8e15c63333600816360 /src/H5RS.c | |
parent | 068620ea815d8590982069cfb6374e07d3c8e1e6 (diff) | |
download | hdf5-c465e18a68f2a77550d93366a5b6c8fac2e24502.zip hdf5-c465e18a68f2a77550d93366a5b6c8fac2e24502.tar.gz hdf5-c465e18a68f2a77550d93366a5b6c8fac2e24502.tar.bz2 |
[svn-r15609] Description:
Omnibus compiler warning cleanup & some reformatting also.
Tested on:
Mac OS X/32 10.5.4 (amazon)
Too minor to require h5committest
Diffstat (limited to 'src/H5RS.c')
-rw-r--r-- | src/H5RS.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -221,20 +221,20 @@ done: herr_t H5RS_decr(H5RS_str_t *rs) { - FUNC_ENTER_NOAPI_NOFUNC(H5RS_decr); + FUNC_ENTER_NOAPI_NOFUNC(H5RS_decr) /* Sanity check */ - assert(rs); - assert(rs->n > 0); + HDassert(rs); + HDassert(rs->n > 0); /* Decrement reference count for string */ - if((--rs->n)==0) { + if((--rs->n) == 0) { if(!rs->wrapped) - (void)H5FL_BLK_FREE(str_buf,rs->s); - H5FL_FREE(H5RS_str_t,rs); + (void)H5FL_BLK_FREE(str_buf, rs->s); + (void)H5FL_FREE(H5RS_str_t, rs); } /* end if */ - FUNC_LEAVE_NOAPI(SUCCEED); + FUNC_LEAVE_NOAPI(SUCCEED) } /* end H5RS_decr() */ |