summaryrefslogtreecommitdiffstats
path: root/src/H5Fsfile.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/H5Fsfile.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/H5Fsfile.c')
-rw-r--r--src/H5Fsfile.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Fsfile.c b/src/H5Fsfile.c
index 2cf75d0..b4720c6 100644
--- a/src/H5Fsfile.c
+++ b/src/H5Fsfile.c
@@ -56,7 +56,7 @@ H5F_sfile_assert_num(unsigned n)
if (n == 0) {
/* Sanity checking */
- HDassert(H5F_sfile_head_s == NULL);
+ assert(H5F_sfile_head_s == NULL);
} /* end if */
else {
unsigned count; /* Number of open shared files */
@@ -74,7 +74,7 @@ H5F_sfile_assert_num(unsigned n)
} /* end while */
/* Sanity checking */
- HDassert(count == n);
+ assert(count == n);
} /* end else */
FUNC_LEAVE_NOAPI_VOID
@@ -101,7 +101,7 @@ H5F__sfile_add(H5F_shared_t *shared)
FUNC_ENTER_PACKAGE
/* Sanity check */
- HDassert(shared);
+ assert(shared);
/* Allocate new shared file node */
if (NULL == (new_shared = H5FL_CALLOC(H5F_sfile_node_t)))
@@ -140,7 +140,7 @@ H5F__sfile_search(H5FD_t *lf)
FUNC_ENTER_PACKAGE_NOERR
/* Sanity check */
- HDassert(lf);
+ assert(lf);
/* Iterate through low-level files for matching low-level file info */
curr = H5F_sfile_head_s;
@@ -179,7 +179,7 @@ H5F__sfile_remove(H5F_shared_t *shared)
FUNC_ENTER_PACKAGE
/* Sanity check */
- HDassert(shared);
+ assert(shared);
/* Locate shared file node with correct shared file */
last = NULL;