summaryrefslogtreecommitdiffstats
path: root/src/H5Orefcount.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Orefcount.c')
-rw-r--r--src/H5Orefcount.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/H5Orefcount.c b/src/H5Orefcount.c
index da36551..04d9eaa 100644
--- a/src/H5Orefcount.c
+++ b/src/H5Orefcount.c
@@ -88,8 +88,8 @@ H5O__refcount_decode(H5F_t H5_ATTR_UNUSED *f, H5O_t H5_ATTR_UNUSED *open_oh,
FUNC_ENTER_PACKAGE
- HDassert(f);
- HDassert(p);
+ assert(f);
+ assert(p);
/* Version of message */
if (H5_IS_BUFFER_OVERFLOW(p, 1, p_end))
@@ -137,9 +137,9 @@ H5O__refcount_encode(H5F_t H5_ATTR_UNUSED *f, hbool_t H5_ATTR_UNUSED disable_sha
FUNC_ENTER_PACKAGE_NOERR
/* check args */
- HDassert(f);
- HDassert(p);
- HDassert(refcount);
+ assert(f);
+ assert(p);
+ assert(refcount);
/* Message version */
*p++ = H5O_REFCOUNT_VERSION;
@@ -174,7 +174,7 @@ H5O__refcount_copy(const void *_mesg, void *_dest)
FUNC_ENTER_PACKAGE
/* check args */
- HDassert(refcount);
+ assert(refcount);
if (!dest && NULL == (dest = H5FL_MALLOC(H5O_refcount_t)))
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed")
@@ -235,7 +235,7 @@ H5O__refcount_free(void *mesg)
{
FUNC_ENTER_PACKAGE_NOERR
- HDassert(mesg);
+ assert(mesg);
mesg = H5FL_FREE(H5O_refcount_t, mesg);
@@ -264,8 +264,8 @@ H5O__refcount_pre_copy_file(H5F_t H5_ATTR_UNUSED *file_src, const void H5_ATTR_U
FUNC_ENTER_PACKAGE_NOERR
/* check args */
- HDassert(deleted);
- HDassert(cpy_info);
+ assert(deleted);
+ assert(cpy_info);
/* Always delete this message when copying objects between files. Let
* the copy routine set the correct ref. count.
@@ -295,11 +295,11 @@ H5O__refcount_debug(H5F_t H5_ATTR_UNUSED *f, const void *_mesg, FILE *stream, in
FUNC_ENTER_PACKAGE_NOERR
/* check args */
- HDassert(f);
- HDassert(refcount);
- HDassert(stream);
- HDassert(indent >= 0);
- HDassert(fwidth >= 0);
+ assert(f);
+ assert(refcount);
+ assert(stream);
+ assert(indent >= 0);
+ assert(fwidth >= 0);
HDfprintf(stream, "%*s%-*s %u\n", indent, "", fwidth, "Number of links:", (unsigned)*refcount);