summaryrefslogtreecommitdiffstats
path: root/src/H5RS.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5RS.c')
-rw-r--r--src/H5RS.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5RS.c b/src/H5RS.c
index 065d05f..0142c1f 100644
--- a/src/H5RS.c
+++ b/src/H5RS.c
@@ -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() */