summaryrefslogtreecommitdiffstats
path: root/src/H5MFdbg.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-28 14:31:56 (GMT)
committerGitHub <noreply@github.com>2023-06-28 14:31:56 (GMT)
commit7a44581a84778a1346a2fd5b6cca7d9db905a321 (patch)
tree44ea9c2d1b471eb227698abe8499c34cfa6d47d2 /src/H5MFdbg.c
parent622fcbd13881fbc58bbeaed3062583b759f5e864 (diff)
downloadhdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.zip
hdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.tar.gz
hdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.tar.bz2
Rename HDassert() to assert() (#3191)
* Change HDassert to assert * Fix bin/make_err
Diffstat (limited to 'src/H5MFdbg.c')
-rw-r--r--src/H5MFdbg.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/H5MFdbg.c b/src/H5MFdbg.c
index 017579a..6b9f897 100644
--- a/src/H5MFdbg.c
+++ b/src/H5MFdbg.c
@@ -99,8 +99,8 @@ H5MF__sects_debug_cb(H5FS_section_info_t *_sect, void *_udata)
/*
* Check arguments.
*/
- HDassert(sect);
- HDassert(udata);
+ assert(sect);
+ assert(udata);
/* Print generic section information */
HDfprintf(udata->stream, "%*s%-*s %s\n", udata->indent, "", udata->fwidth, "Section type:",
@@ -150,10 +150,10 @@ H5MF_sects_debug(H5F_t *f, haddr_t fs_addr, FILE *stream, int indent, int fwidth
/*
* Check arguments.
*/
- HDassert(f);
- HDassert(stream);
- HDassert(indent >= 0);
- HDassert(fwidth >= 0);
+ assert(f);
+ assert(stream);
+ assert(indent >= 0);
+ assert(fwidth >= 0);
for (type = H5F_MEM_PAGE_DEFAULT; type < H5F_MEM_PAGE_NTYPES; type++)
if (H5_addr_eq(f->shared->fs_addr[type], fs_addr)) {
@@ -215,8 +215,8 @@ H5MF__sects_dump(H5F_t *f, FILE *stream)
/*
* Check arguments.
*/
- HDassert(f);
- HDassert(stream);
+ assert(f);
+ assert(stream);
/* Retrieve the 'eoa' for the file */
if (HADDR_UNDEF == (eoa = H5F_get_eoa(f, H5FD_MEM_DEFAULT)))