summaryrefslogtreecommitdiffstats
path: root/src/H5Pfcpl.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/H5Pfcpl.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/H5Pfcpl.c')
-rw-r--r--src/H5Pfcpl.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/H5Pfcpl.c b/src/H5Pfcpl.c
index aa06240..4d9a5be 100644
--- a/src/H5Pfcpl.c
+++ b/src/H5Pfcpl.c
@@ -700,8 +700,8 @@ H5P__fcrt_btree_rank_enc(const void *value, void **_pp, size_t *size)
FUNC_ENTER_PACKAGE_NOERR
/* Sanity check */
- HDassert(btree_k);
- HDassert(size);
+ assert(btree_k);
+ assert(size);
if (NULL != *pp) {
unsigned u; /* Local index variable */
@@ -749,9 +749,9 @@ H5P__fcrt_btree_rank_dec(const void **_pp, void *_value)
FUNC_ENTER_PACKAGE
/* Sanity checks */
- HDassert(pp);
- HDassert(*pp);
- HDassert(btree_k);
+ assert(pp);
+ assert(*pp);
+ assert(btree_k);
/* Decode the size */
enc_size = *(*pp)++;
@@ -987,8 +987,8 @@ H5P__fcrt_shmsg_index_types_enc(const void *value, void **_pp, size_t *size)
FUNC_ENTER_PACKAGE_NOERR
/* Sanity check */
- HDassert(type_flags);
- HDassert(size);
+ assert(type_flags);
+ assert(size);
if (NULL != *pp) {
unsigned u; /* Local index variable */
@@ -1037,9 +1037,9 @@ H5P__fcrt_shmsg_index_types_dec(const void **_pp, void *_value)
FUNC_ENTER_PACKAGE
/* Sanity checks */
- HDassert(pp);
- HDassert(*pp);
- HDassert(type_flags);
+ assert(pp);
+ assert(*pp);
+ assert(type_flags);
/* Decode the size */
enc_size = *(*pp)++;
@@ -1078,8 +1078,8 @@ H5P__fcrt_shmsg_index_minsize_enc(const void *value, void **_pp, size_t *size)
FUNC_ENTER_PACKAGE_NOERR
/* Sanity check */
- HDassert(minsizes);
- HDassert(size);
+ assert(minsizes);
+ assert(size);
if (NULL != *pp) {
unsigned u; /* Local index variable */
@@ -1128,9 +1128,9 @@ H5P__fcrt_shmsg_index_minsize_dec(const void **_pp, void *_value)
FUNC_ENTER_PACKAGE
/* Sanity checks */
- HDassert(pp);
- HDassert(*pp);
- HDassert(minsizes);
+ assert(pp);
+ assert(*pp);
+ assert(minsizes);
/* Decode the size */
enc_size = *(*pp)++;
@@ -1356,8 +1356,8 @@ H5P__fcrt_fspace_strategy_enc(const void *value, void **_pp, size_t *size)
FUNC_ENTER_PACKAGE_NOERR
/* Sanity check */
- HDassert(strategy);
- HDassert(size);
+ assert(strategy);
+ assert(size);
if (NULL != *pp)
/* Encode free-space strategy */
@@ -1393,9 +1393,9 @@ H5P__fcrt_fspace_strategy_dec(const void **_pp, void *_value)
FUNC_ENTER_PACKAGE_NOERR
/* Sanity checks */
- HDassert(pp);
- HDassert(*pp);
- HDassert(strategy);
+ assert(pp);
+ assert(*pp);
+ assert(strategy);
/* Decode free-space strategy */
*strategy = (H5F_fspace_strategy_t) * (*pp)++;